Im trying to get a random value to select a random row out of *a*
database. Not just mysql.
array_rand would do me just fine, but Im reading in the manual ->
"Don't forget to call *srand()*
<http://www.php.net/manual/en/function.srand.php> to seed the random
number generator. "
Im not too certain what it means to seed the generator, but is it
The results Im looking for, doesn't have to be of any high precision.
Also I read on the srand man page that srand should only be called once.
Does that mean one per page load or once every so often??
Thanks for any insight you provide.
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php