This is a simple function that can be used to create ads that rotate according to a random order. Easy to setup and customize. Just define your ads and set the number of ads displayed at once on your page. No database is required. You must just include this php file into your site and call the show_ads() function with a number of ads you want to display.