Quote:
Originally posted by Brandon Martus
Pulled in the whole data set, didn't limit it to 1 row. I then used php's rand() function, and took a random number from 1->[# of records in dataset]. And then showed that row.
|
Ah, not that bad of a way to go that, just as long as it doesn't slow the site down too much. I don't know why they don't make that rand feature better with mySQL.. it is so useful.