RE: [PHP] Picking random numbers

2001-08-21 Thread Dave
nday, August 20, 2001 9:13 PM >To: PHP General List >Subject: [PHP] Picking random numbers > > >OK I want to pick 5 random numbers from 1 to 200. Easy. They must all be >different. Not so easy. > >And I don't want to use shuffle because of the comments on php.net

RE: [PHP] Picking random numbers

2001-08-20 Thread Maxim Maletsky
Original Message- From: Seb Frost [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 21, 2001 10:13 AM To: PHP General List Subject: [PHP] Picking random numbers OK I want to pick 5 random numbers from 1 to 200. Easy. They must all be different. Not so easy. And I don't want to use sh

RE: [PHP] Picking random numbers

2001-08-20 Thread Jason Murray
> OK I want to pick 5 random numbers from 1 to 200. Easy. > They must all be different. Not so easy. This should work well enough to give you the general idea ... sorry if it doesn't, I grabbed some old code and modified it so I didn't embarrass myself too much by posting spaghetti code. :

[PHP] Picking random numbers

2001-08-20 Thread Seb Frost
OK I want to pick 5 random numbers from 1 to 200. Easy. They must all be different. Not so easy. And I don't want to use shuffle because of the comments on php.net about it. - seb -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional com