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





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to