I m getting a parse error on this snipet of code and I can't understand why:
for ($i=0; i$ < $num_results; $i++)
{
$row = mysql_fetch_row ($result)
echo $row[1];
}
It doesn't like the for statement, and it doesn't like the echo $row[1];
I am typing it right out of the manual. What am I doing wrong?
for ($i=0; i$ < $num_results; $i++)
{
$row = mysql_fetch_row ($result)
echo $row[1];
}
It doesn't like the for statement, and it doesn't like the echo $row[1];
I am typing it right out of the manual. What am I doing wrong?
Comment