This piece of script i got isn't randoming..........hahaha can anyone help me?????.............thank you.......I want the information from three columns at the same time. not each of the randoming.
$sql = mysql_query("SELECT * FROM image ORDERY BY RAND() LIMIT 2") or die (mysql_error());
while($row = mysql_fetch_array($sql)){
echo "$row";
}
mysql_close($cnx);
$random_row = $row_array[rand(0, count($row_array) - 1)];
echo $random_row;
?>