Re: algorithm help
| From: | Richard Lynch | Date: | Thu, 04 Jan 2001 18:42:56 +0000 |
| Subject: | Re: algorithm help | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-32703@lists.php.net to get a copy of this message | ||
yuo guys are probably going to laugh, but I'm trying to work out lottery
perms by working out the permutations of 19 numbers i choose.. for the guys
who have trying to help stupid old me, maybe this sheds a bit of light on
the matter ?
Throw the 19 numbers in an array and call shuffle() on it.
Grab the first six numbers.