When I insert this code into a page, I get a 1 show up. Can anyone explain
that and tell me how to get rid of it?
Thanks for your help.
Gary
<?php
//Chooses a random number
$num = Rand (1,6);
//Based on the random number, gives a quote
switch ($num)
{
case 1:
echo include('box.inc.php');
break;
case 2:
echo "";
break;
case 3:
echo "";
break;
case 4:
echo "";
break;
case 5:
echo "";
break;
case 6:
echo "";
}
?>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php