这个怎么办啊
这个怎么办啊
<h1 align="center">新闻发布系统</h1>
<div align="center">
<TABLE border="1" align="center">
<TR align="center">
<TD>ID</TD>
<TD>删除</TD>
</TR>
<?php
include "tool.php";
include "db.php";
$sql="select newsID,newsTitle,newsContents,newsDate from tb_news order by newsID";
$rs=dbread($sql);
echo "目前共有".mysql_num_rows($rs)."条记录";
while($row=mysql_fetch_array($rs))
{
?>
<tr align="center">
<td><?php echo $row["newsID"]; ?></td>
<td><?php echo $row["newsTitle"]; ?></td>
<td><?php echo $row["newsContents"]; ?></td>
<td><?php echo $row["newsDate"]; ?></td>
</tr>
<?php
}
?>
</TABLE>
<a href="insert.php">数据录入</a>
</div>
晚安sp