Hi shaun,
Store all those numbers in an array and use the function
array_rand.
On Wed, 18 Dec 2002, shaun wrote:
> Hi,
>
> Say i have a set of non sequential numbers for example: 1 3 8 12 13 16 19
> 21.
>
> How can i get php to take a random number from this set?
>
> Thanks f
http://www.php.net/manual/en/function.array-rand.php
At 11:35 18-12-02 +, shaun wrote:
Hi,
Say i have a set of non sequential numbers for example: 1 3 8 12 13 16 19
21.
How can i get php to take a random number from this set?
Thanks for your help
--
PHP General Mailing List (http://www.
2 matches
Mail list logo