[SOLVED] Selecting random "n" entries from a DB
Posted: Fri Jan 28, 2005 8:22 am
OK for example, I have a query:
SELECT * FROM news WHERE cat='$cat' LIMIT 5;
The thing is, I want to select 5 random entries. Is that possible?
SELECT * FROM news WHERE cat='$cat' LIMIT 5;
The thing is, I want to select 5 random entries. Is that possible?