页面代码:
<head align="center">
<div align="center">查询结果并显示到table里面
  </head>
</div>
<hr><hr><?php
error_reporting(E_ALL); //禁止自动错误输出
$con=mysql_connect("127.0.0.1","root","mysql"); //建立连接
if (!$con)
{
  die('建立连接失败'.mysql_error());
}
mysql_select_db("test",$con); //选择使用的数据库
$sql="select * from t_stage_xx";
$result = mysql_query("select * from t_stage_xx");
echo "<table border='1' ><tr><th>id</th><th>data</th><th>uv</th><th>updatetime</th></tr>"; //构造表头
while ($row = mysql_fetch_array($result))   //循环查询结果集
{
echo "<tr>";
echo "<td>".$row['id']."</td>";
echo "<td>".$row['data']."</td>";
echo "<td>".$row['uv']."</td>";
echo "<td>".$row['updatetime']."</td>";
echo "</tr>";
}
echo "</table>";
mysql_close($con);
?>
出现了这个错误