PHP Syntax Error
<p>I get the following error:</p>

<pre><code>Parse error: syntax error, unexpected T_STRING in /home/www
/mariam.awardspace.info/php/pageCen.html on line 87
</code></pre>

<p>The code that generates the error: </p>

<pre><code>$rows=mysql_num_rows($result);
print "&lt;table border=1&gt;\n";
print "&lt;tr&gt;&lt;th&gt;Avatar&lt;/th&gt;&lt;th&gt;E-mail&lt;/th&gt;&lt;th&gt;Comments&lt;/th&gt;&lt;/tr&gt;";
     for($i=0; $i&lt;$rows; $i++) {
      // each call return a new record from the query, it contains both number/value and name/value pairs
        $row = mysql_fetch_array($result);

     // either use numbers 0,1,2 etc.. or the column name from the MySQL table to get the values

     if ($i%2 == 0)
         print "&lt;tr id = 'shade'&gt;
                &lt;td&gt;$row[img]&lt;/td&gt;&lt;td&gt;&lt;a href ='mailto:$row[email]'&gt;$row[email]&lt;/a&gt;&lt;/td&gt;
                &lt;td&gt;$row[comments]&lt;/td&gt;&lt;td&gt;
                &lt;input type=button value='Disapprove' &gt;&lt;/td&gt;&lt;/tr&gt;";
   }

   print "&lt;/table&gt;";
</code></pre>

<p>The error is under the <code>if</code> statement:  <code>if ($i%2 == 0)</code></p>
