Originally Posted by Jeff Andersen
PHP Code:
<?
$number = rand(1,3);
$ad[1] = "image/name.gif";
$ad[2] = "image/name.gif";
$ad[3] = "image/name.gif";
include($ad[$number]);
?>
Was used to add random ads to one of my sites, you can add as many as you like, just change the number and specify the filename.
And yes, I know an array or folder setup would be more proper but I will NOT conform!
|
ok, I WAS thinking something numbered were the user can select what part of the show to go to, and at the same time make it scroll on its own without selection