Random Flash Movies
| From: | Gary | Date: | Sun, 20 Sep 2009 15:30:51 +0000 |
| Subject: | Random Flash Movies | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-298199@lists.php.net to get a copy of this message | ||
A question was posted on another board that the poster wanted random flash
movies to display as the page is reloaded. I posted the script below and
said I thought it could be adapted but that the echo would probably need to
change. Can someone offer some guidance on this? Thanks
Gary
<?
//Chooses a random number
$num = Rand (1,6);
//Based on the random number, gives a quote
switch ($num)
{
case 1:
echo "";
break;
case 2:
echo "";
break;
case 3:
echo "";
break;
case 4:
echo "";
break;
case 5:
echo "";
break;
case 6:
echo "";
}
?>
__________ Information from ESET Smart Security, version of virus signature database 4441 (20090919)
__________
The message was checked by ESET Smart Security.
http://www.eset.com