hi, i want to ask after the loop for $row=mysql_fetch_array how can i perform the same loop again or access particular row in the array?
<?PHP while ($row = mysql_fetch_array($result)) { echo $row["item"]."<br>"; } // how to loop again??? or access particular row??? ?>
Well you can do it in the query. But if you need to do it in the loop use if else
i meant how can i loop $row again
after while ($row=mysql_fetch_array() { .... }
since i can't while ($row=mysql_fetch_array() { .... } while ($row=mysql_fetch_array() { .... }
Reset the result set using mysql_data_seek($result,0);