Hi,
Friday, August 2, 2002, 5:03:19 AM, you wrote:
H> Is there some easy way to make rand() only use each number once in a loop,
H> to avoid getting the same values more than once?
H> Håkan
Have a look at shuffle() it may do what you want
--
regards,
Tom
--
PHP General Mailing List (http:
Is there some easy way to make rand() only use each number once in a loop,
to avoid getting the same values more than once?
Håkan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
2 matches
Mail list logo