📄 list.php
字号:
<?
include "../check.php"
?>
<?
include "../sql.php"
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
</head>
<body>
<p align="center">管理员列表</p>
<table border="1" align="center" cellspacing="0" bordercolor="#000000">
<tr>
<td >管理员姓名</td>
<td >登陆名</td>
<td >登陆帐号</td>
</tr>
<?
$sql="select * from admin";
$relust=mysql_query($sql);
echo mysql_error()."<br>";
while ($row=mysql_fetch_row($relust))
{
echo "<tr><td>".$row[2]."</td>";
echo "<td>".$row[0]."</td>";
echo "<td>".$row[1]."</td></tr>";
}
?>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -