[thelist] Random numbers - PHP

CDitty mail at redhotsweeps.com
Fri Nov 24 20:21:49 CST 2000


Never mind folks.  Got the answer.  Thanks

Chris

At 06:34 PM 11/24/00 , you wrote:
>Hello all,
>
>I need to generate 6 random numbers, 1-9, and make sure that there are no 
>more than 2 matches for each number.
>ie...
>1, 2, 3, 1,2,4 - good
>1, 3, 5, 8, 4, 3, 3 - not good
>
>Does anyone have or can anyone help me with this code?
>
>Thanks
>
>Chris
>
>
>---------------------------------------
>For unsubscribe and other options, including
>the Tip Harvester and archive of TheList go to:
>http://lists.evolt.org Workers of the Web, evolt !





More information about the thelist mailing list