I need to generate a random number (range is not crucial) and I have been
trying to use mt_rand(). However, I am finding that is generates the same
value EVERY time. This is true whether I supple a range or not. For
example, the follow line of code generated 13 EVERY time...
$result = mt_rand(1,15);
In addition, this line of code generated 1755202938 EVERY time...
$result = mt_rand();
What am I doing wrong??
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]