PHP求助!!!~~~~~~~~~~~~
<?php
mysql_connect("localhost","root","252627");
mysql_select_db("wbh");//选择数据库
$exec="select * from t_gongqiu";
$result=mysql_query($exec);//请求结果
echo"<TABLE cellSpacing=0 cellPadding=0 width=285 align=center background=html_files/bg_td30.gif border=0>"."<TBODY>";
while($rs=mysql_fetch_array($result))
{
//$title="$rs->title";
echo"<TR><TD align=middle height=30><IMG height=10
src=html_files/arrow.gif width=10></TD><TD width=274>
<DIV align=left>"
.$rs->Id.
"<A href='http://192.168.2.102/#'></A></DIV></TD></TR>";
}
echo"<A href='http://192.168.2.102/#'>"."更多..."."</A></TBODY></TABLE>"
这些代码有问题么?为什么不能现实结果,但它读取了数据库,并且读取了行数。却没有显示的结果!!!
?>