RE: [PHP-DB] Randomise Problem
| From: | Sam Masiello | Date: | Tue, 13 Jun 2000 16:45:26 +0000 |
| Subject: | RE: [PHP-DB] Randomise Problem | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-376@lists.php.net to get a copy of this message | ||
You must seed the random number generator first using the srand function.
http://www.php.net/manual/function.srand.php
Sam Masiello
System Analyst
Chek.Com
(716) 853-1362 x289
smasiello@chekinc.com
-----Original Message-----
From: Little Guru [mailto:tabarry@email.com]
Sent: Tuesday, June 13, 2000 12:43 PM
To: php-db@lists.php.net
Subject: [PHP-DB] Randomise Problem
I am trying to use the randomise function as below. And every time I am
getting same answer. Can anyone help?
rand(5,15)
Thanks!
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
For additional commands, e-mail: php-db-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net