Please help me find errors in this code, because it is not displaying what i requested. PLease answer A.S.A.P
$query = mysql_query("SELECT * FROM member");
$result = mysql_query($query);
while ($row = mysql_fetch_array($result))
{
if(mysql_num_rows($result) == 0)
$result = mysql_query("UPDATE member SET flgCurrent = 'false' WHERE idMember =" .$row[0]);
echo $row;
echo "<br />";
}