create array of random unique integers?
| From: | andrew | Date: | Sun, 18 Feb 2001 17:00:30 +0000 |
| Subject: | create array of random unique integers? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-40440@lists.php.net to get a copy of this message | ||
Hi, is there a quick way to create an array of integers, randomized and
without repeats?
e.g. if my set is 1 - 10, create an array whoese key values are 1 through
10, with corresponding key values as a random set of the same 1 through 10??
thanks in advance for any suggestions :)
andrew