日期:2014-05-17 浏览次数:20786 次
<?php
$comment="select * from comment where id_dian='$ID'";
$commentquery=mysql_query($comment,$mylink);
$result4=mysql_fetch_array($commentquery,$mylink);
if($result4=mysql_fetch_array($commentquery))
{
$i=1;
do{
echo $i."楼--".$result4['username'].": ".$result4['comment']."</br>";
$i++;
}
while($result4=mysql_fetch_array($commentquery));
}
else
{
echo "暂无评论,我们期待你的参与";
}
?>