Re: [PHP] problems with random again

2002-08-01 Thread Tom Rogers
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:

[PHP] problems with random again

2002-08-01 Thread Hawk
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