No... that wouldn't really be random then would it? :)  But you could
always keep track of the previous random numbers and if you've seen it ask
for another one.

On Thu, 1 Aug 2002, Hawk wrote:

> 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
>


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to