Results 1 to 3 of 3
June 18th, 2004, 10:04 AM #1
Anyone know how to use the 'select' statement in PHP to choose random records. I want 25 different results to display each time but I can not find a way to do it.
June 18th, 2004, 10:15 AM #2
This is how I do it.
select column1, column2, column3, etc, etc,etc, column1*0+RAND() AS randNum
order by randNum
June 18th, 2004, 02:14 PM #3
I do it similarly.....
select column1, column2, column3, etc, etc,etc
order by rand()
By teezone in forum Programming / Datafeeds / ToolsReplies: 8Last Post: September 4th, 2009, 03:54 PM
By jackson992 in forum Programming / Datafeeds / ToolsReplies: 2Last Post: February 21st, 2007, 01:00 AM
By La_Valette in forum Commission Junction - CJReplies: 6Last Post: November 19th, 2005, 12:45 PM
By drumminlogan in forum Programming / Datafeeds / ToolsReplies: 4Last Post: December 23rd, 2002, 06:26 AM