View Single Post
Old 02-06-2003, 07:03 AM  
The Hun
Confirmed User
 
The Hun's Avatar
 
Join Date: Jan 2001
Location: The Netherlands
Posts: 1,207
Keep an array of items you already selected. Then select untill you get an item from the original list that wasn't selected yet. Add that to the array of items you already selected. Be careful though: if you have less items in your original list than you want to select you could end up in an endless loop
The Hun is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote