iSlak
10-01-2002, 08:46 AM
while ($row = mysql_fetch_row($result)) {
echo $row[2];
echo "<input name=viewid type=radio value=$row[0]>";
echo "<br>";
echo "<br>";
}
There are two records in the table I am querying. The loop displays both records, then continues to echo the second record infinitely.
Or in other words... the loop won't stop running.
Why is this?
echo $row[2];
echo "<input name=viewid type=radio value=$row[0]>";
echo "<br>";
echo "<br>";
}
There are two records in the table I am querying. The loop displays both records, then continues to echo the second record infinitely.
Or in other words... the loop won't stop running.
Why is this?