RE: Generate random number

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: William Stokes [mailto:kalles@xxxxxxxxxxxxx]
> Sent: Wednesday, March 30, 2005 12:02 PM

> How can I generate a ramdom number let's say between 1- 1 000 000 and
> store
> it in a variable?

Go to php.net, search for random and You will find...

http://php.net/manual/en/function.rand.php


-- 
Med venlig hilsen / best regards
ComX Networks A/S
Kim Madsen 
Systemudvikler/systemdeveloper

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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux