Pi_Mastuh Posted February 11, 2007 Share Posted February 11, 2007 How would I run a query that tells it to select 5 random rows that meet the criteria? Link to comment https://forums.phpfreaks.com/topic/37980-simple-query-question/ Share on other sites More sharing options...
linuxdream Posted February 11, 2007 Share Posted February 11, 2007 select * from table where ...conditions here ... order by rand() Link to comment https://forums.phpfreaks.com/topic/37980-simple-query-question/#findComment-181732 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.