[Help]Displaying 2 random memb

Posted on Tuesday 17th February 2009 at 01:48 PM
Adam981
Adam981's Avatar
I'm looking fro a code to display 2 random members from the database. can anyone help me?
Posted on Tuesday 17th February 2009 at 03:56 PM
jambomb
jambomb's Avatar
$fetch = mysql_query("SELECT * FROM `members` ORDER BY RAND() LIMIT 2");
Login or register to respond to this forum topic.