Correcting teacher:查无此人
Correction status:qualified
Teacher's comments:完成的不错
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>get传值</title> </head> <body> <a href="text2.php?m=100&n=哦哈哈&w=ahaha&id='10'&name='xiaoqiang'">哦哈哈哈,点我啊</a> <form action="text2.php" method="get"> <label for="name">输入用户名:</label> <input type="text" name="name"><br> <label for="password">输入密码:</label> <input type="password" name="pass" ><br> <button>提交</button> </form> </body> </html>
点击 "运行实例" 按钮查看在线实例
<?php echo $_GET["m"]; echo $_GET["n"]; echo $_GET["w"]; echo $_GET["pass"]; echo $_GET["name"];
点击 "运行实例" 按钮查看在线实例