Hi y'all,
My prob lies in that i want to get the contents out of an array in a random manner. i use this code
while ($row1 = mysql_fetch_array ($sql_result1)) {
$num = rand(0,count($row1)-1);
$row2 = $row1[$num];
$id1 = $row2[0];
$text1 = $row2[];
but the prob is that not all the rows come out. I want all teh rows to be pulled out of the table and then randomisez#d. i know i can do this from the sql query order by rand () but i cant as it does not work for a particular instance!!
cheers