这段代码没有报错,但也没有显示任何数据,这是怎么回事?帮忙看下,谢谢
<? 
$Host = "localhost";
$User = "";
$Password = "";
$conn=mssql_connect($Host,$User,$Password) or die("Couldn't connect to SQL Server");
mssql_select_db('student',$conn);
$sql="select * from student"; 
$rs=mssql_query($sql,$conn);
echo "<table>";
while($row=mssql_fetch_row($rs)){      //通过mssql_fetch_row循环得到所有记录
$id=$row[0];             //得到每条记录的列记录
$name=$row[1];
$age=$row[2];
echo "<tr>";
echo "<td>$id</td>";
echo "<td>$name</td>";
echo "<td>$age</td>";
echo "</tr>";
}
echo "</table>";
?>