Correcting teacher:查无此人
Correction status:qualified
Teacher's comments:完成的不错,继续保持
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>get传值</title>
</head>
<body>
<form action="" method="post">
<div>
<label for="username">账号</label>
<input type="text" name="name" id="username" value="">
</div>
<div>
<label for="pwd">密码</label>
<input type="password" name="pwd" id="pwd" value="">
</div>
<div>
<button>登录</button>
</div>
</form>
</body>
</html>
<?php
print_r($_POST);
echo '<br>';
echo $_POST['name'].'<br>';
echo $_POST['pwd'];
?>