View Single Post
  #1 (permalink)  
Old 10-21-2006, 10:37 AM
dirkfirst dirkfirst is offline
Programming Professional
 
Join Date: May 2006
Posts: 338
Credits: 0
Rep Power: 12
dirkfirst is on a distinguished road
Default Random Selection

From a MySQL database how can I randomly selected the data I use with mysql_query($query)?

I think that creating an array and using the rand() function is my only choice. This takes a lot of resources when I'm pulling 10,000 rows. Any Ideas?
__________________
DirkFirst
Reply With Quote

Sponsored Links