[thelist] Random numbers - PHP

CDitty mail at redhotsweeps.com
Fri Nov 24 18:48:33 CST 2000


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





More information about the thelist mailing list