Re: Random number generator

From: Date: Thu, 06 Nov 2008 08:52:14 +0000
Subject: Re: Random number generator
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-282976@lists.php.net to get a copy of this message
Hi you can use PHP rand() function for selecting a random number between 1 to 100. http://www.senpai-it.com/dedicated_servers.php Senpai IT Solutions Dedicated Server at low cost WEISD wrote: > > > On a php web page I want to generate a random number between say 1 and 10 > and then use that number to reference a particular file in an include tag. > > <?php include('GeneratedNumber.html'); ?> > > Is there an easy way to do this? > > Thanks > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > -- View this message in context: http://www.nabble.com/Random-number-generator-tp20347780p20357212.html Sent from the PHP - General mailing list archive at Nabble.com.

« previous php.general (#282976) next »