For example : $number = mt_rand(1,1000000); -----Message d'origine----- De : William Stokes [mailto:kalles@xxxxxxxxxxxxx] Envoyé : mercredi 30 mars 2005 12:02 À : php-general@xxxxxxxxxxxxx Objet : Generate random number Hello How can I generate a ramdom number let's say between 1- 1 000 000 and store it in a variable? Thanks -Will -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php