Results 1 to 3 of 3
June 18th, 2004, 11: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, 11: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, 03: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, 04:54 PM
By jackson992 in forum Programming / Datafeeds / ToolsReplies: 2Last Post: February 21st, 2007, 02:00 AM
By La_Valette in forum Commission Junction - CJReplies: 6Last Post: November 19th, 2005, 01:45 PM
By drumminlogan in forum Programming / Datafeeds / ToolsReplies: 4Last Post: December 23rd, 2002, 07:26 AM