I know this should be easy to figure out but I can't do it alone.
I have the following query:
$query = "SELECT * FROM 30yrFixedConforming";
$result=mysql_query($query);
$row = mysql_fetch_array ($result);
for ($m=0; $m<4; $m++)
{
for ($i=0; $i<4; $i++)
{
echo htmlspecialchars (stripslashes($row[$i]));
echo " ";
}
echo "<br>";
$i++;
}
?>/PHP]
Which gives me repeating rows.
PHP]5.875% $887 2.375 $3,562
5.875% $887 2.375 $3,562
5.875% $887 2.375 $3,562
5.875% $887 2.375 $3,562
I can see my error, but I can't figure out how to fix it. How do I make the code choose the second, then third, then fourth row?
Thanks