<!DOCTYPE html><html><head><meta charset="UTF-8"><title>管理員信息管理</title></head><body>< ;?php include("guanli.php");?><h3>管理員信息顯示</h3><table width="350" border="1" cellpacing="0">< tr><th>id</th><th>姓名</th><th>賬號(hào)</th><th>密碼</th><th>操作</th> ;? ?</tr><?phpheader("content-type:text/html:charset=utf8");$conn=mysqli_connect("localhost","root","root","admin");mysqli_set_charset($ conn,"utf8");$sql_select="select * from user";foreach ($conn->query($sql_select) as $row){echo "<tr>";echo "<th>{$ row['id']}</th>";echo "<th>{$row['name']}</th>";echo "<th>{$row['acount'] }</th>";echo "<th>{$row['password']}</th>";echo "<th>{$row['createtime']}</th> ";echo "<td><a href='edit.php'>修改</a><a href='del.php'>刪除</a><a href=' poss.php'>重置密碼</a></td>";? ? echo "</tr>";}?></table></body></html>
應(yīng)該是沒調(diào)用帶php文件