php: parse error on mysql query
<p>I'm getting the following error:</p>

<blockquote>
  <p>Parse error: syntax error, unexpected T_VARIABLE in /home/a4999406/public_html/willingLog.html on line 48</p>
</blockquote>

<p>on the following code (line 48 is first row of this code):</p>

<pre><code>$rows = mysql_num_rows($result);
for ($j=0; $j&lt;$rows: ++$j)
{
    echo 'ID: '     . mysql_result($result, $j, 'id') . '&lt;br /&gt;';
    echo 'First: '  . mysql_result($result, $j, 'first') . '&lt;br /&gt;';
    echo 'Last: '   . mysql_result($result, $j, 'last') . '&lt;br /&gt;';
    echo 'Email: '  . mysql_result($result, $j, 'email') . '&lt;br /&gt;';
}   
</code></pre>

<p>Anyone know what i'm doing wrong?</p>
