Parse error: syntax error, unexpected '}'错误如何解决
东北小猫 2012-07-20 08:47:03 <?
$msg_res = ar::liebiao("ar_news"," where diqu_c=40 and ClassID=$sp order by id desc limit 5");
while($msg_3=$db->fetch_array($msg_res))
{
?>
<tr>
<td width="20" height="26"><img src="images/an02.jpg" width="11" height="11" /></td>
<td width="499" height="26" align="left"><a href="content.php?id=<?=$msg_3['id']?>"><?=$msg_3['Title']?></a></td>
<td width="160" height="26" align="center" class="hz3">现价:<?=$msg_3['price_new']?>元/人</td>
</tr>
<tr>
<td height="1" colspan="4" background="images/line.jpg"></td>
</tr>
<?php
}
?>
这段代码运行报错,php5.4.4下,错误显示为:Parse error: syntax error, unexpected '}',php5.3下正常。
如何解决,谢谢指点。