Ben şu hatayı alıyorum:
Parse error: syntax error, unexpected T_STRING in /home/www
/mariam.awardspace.info/php/pageCen.html on line 87
Hata üretir kodu:
$rows=mysql_num_rows($result);
print "<table border=1>\n";
print "<tr><th>Avatar</th><th>E-mail</th><th>Comments</th></tr>";
for($i=0; $i<$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 "<tr id = 'shade'>
<td>$row[img]</td><td><a href ='mailto:$row[email]'>$row[email]</a></td>
<td>$row[comments]</td><td>
<input type=button value='Disapprove' ></td></tr>";
}
print "</table>";
if ($i%2 == 0)
: Hata if
deyimi altında