View Single Post
Old 10-11-2009, 07:42 AM  
milkhead
Confirmed User
 
Join Date: Sep 2009
Posts: 186
Quote:
Originally Posted by Killswitch View Post
Code:
<?php
$html[0] = '<a href="link here"><img src="banner here" /></a>';
$html[1] = '<a href="link here"><img src="banner here" /></a>';
$html[2] = '<a href="link here"><img src="banner here" /></a>';
$html[3] = '<a href="link here"><img src="banner here" /></a>';
$html[4] = '<a href="link here"><img src="banner here" /></a>';
$r = rand(0, count($html));
echo $html[$r];
?>
Quick and dirty way.
can i set a time interval withe code?
milkhead is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote