<?php
require_once "d1.php";
//$sql="INSERT INTO `pro_user` SET `account`='huangyaoshi',`password`='123456',`name`='黄药师',`state`=1";
//$sql="DELETE FROM `pro_user` WHERE `id`=1";
/ar_dump($res);
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
</head>
<body>
<div>
<form action="createUser.php" method="post">
<fieldset>
<div>
<label for="account">账号:</label>
<input id="account" type="text" name="account" placeholder="请输入账号" required>
</div>
<div>
<label for="password">密码:</label>
<input id="password" type="password" name="password" placeholder="请输入密码" required>
</div>
<div>
<label for="name">姓名:</label>
<input id="name" type="text" name="name" placeholder="请输入姓名" required>
</div>
<div>
<label for="state">状态:</label>
<select name="state">
<option value="1">开启</option>
<option value="0">关闭</option>
<lect>
</div>
<button>添加<tton>
</fieldset>
</form>
</div>
</body>
<ml>