jquery:$(funciton(){
$.get("StaffManage-ajax.php",{page:1},function(data){$("#table").html(data)})
})php:
include("connect.php");
$query=$connect->query($sql);
echo '
  <tr bgcolor="#99cc33">
    <th width="50" style="padding-left:12px" height="40" align="left" valign="middle" nowrap="nowrap"  scope="col">ID</th>
    <th width="30%" height="40" align="left" valign="middle" nowrap="nowrap" style="min-width:200px" scope="col">员工姓名</th>
    <th width="70px" height="40" align="left" valign="middle" nowrap="nowrap" style="min-width:200px" scope="col">状态</th>    
    <th width="200" height="40" align="left" valign="middle" nowrap="nowrap" scope="col">所属作业区</th>
    <th width="200" height="40" align="left" valign="middle" nowrap="nowrap" scope="col">职务</th>
    <th width="200" height="40" align="left" valign="middle" nowrap="nowrap" scope="col">手机</th>
    <th width="200" height="40" align="left" valign="middle" nowrap="nowrap" scope="col">身份证</th>
    <th width="100" height="40" align="left" valign="middle" nowrap="nowrap" scope="col">审核标志</th>
    <th width="100" height="40" align="left" valign="middle" nowrap="nowrap" scope="col">拥有帐号</th>  
  </tr>
';
while($row=$query->fetch()){
echo'<tr style="background-color:#666">';
    echo'<td height="40" style="padding-left:12px"><a>'.$row[1].'</a></td>';
    echo'<td height="40"><a>'.$row[2].'</a></td>';
    echo'<td height="40"><a>'.$row[3].'</a></td>';
    echo'<td height="40"><a>'.$row[4].'</a></td>';
    echo'<td height="40"><a>'.$row[5].'</a></td>';
    echo'<td height="40"><a>'.$row[6].'</a></td>';
    echo'<td height="40"><a>'.$row[7].'</a></td>';
    echo'<td height="40"><a>'.$row[8].'</a></td>';
    echo'<td height="40"><a>查看</a></td> ';  
echo "</tr>";
}?>
</body>
</html>html:
<table id="table"  border="0" cellspacing="0"  bordercolor="#ccc" cellpadding="0">
</table>
打开html网页,在ie9兼容模式下php的数据不能在打开网页的时候读取到页面,ie9模式可以,谷歌也可以,为什么呢?估计ie8也不好。