View Single Post
Old 04-07-2007, 02:52 AM   #4
Krang
Admin and Sega Guru
 
Krang's Avatar
 
Join Date: Jul 2001
Location: Dimension X
Posts: 3,753
All of the entries are stored in a MySQL database. I then shuffled the results in a random order (for anyone who knows SQL, the exact query was "SELECT * FROM contests ORDER BY RAND()"), and the person in the first row was selected as the winner of the prize that we were currently choosing for. No person was chosen twice, but that did happen, we would have chosen again.
__________________

"My motherboard's microchips are chomping at the... 'bit'. A little computer humor." --Krang, Welcome Back, Polarisoids
Krang is offline   Reply With Quote