/ Published in: PHP
URL: http://www.shopbetreiber-blog.de
You have banners on your page for advertising? Then you have to randomize the order to be fair.
Expand |
Embed | Plain Text
0 => "<p>Fill with your html for the first banner</p>", 1 => "<p>Fill with your html for the 2nd banner</p>", 2 => "<p>Fill with your html for the 3rd banner</p>" ); // Don“t touch // Print insertet banner-HTML foreach($arr as $banner => $value) { print $value; } // Thats it!
Comments
Subscribe to comments
You need to login to post a comment.

very nice & useful :)