用php提交表单

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>简易求职表</title>
<h2>申请表</h2>
<form action="#" method="post">
姓名:<input type="text" ><br>
密码:<input type="password"><br>
性别:
<input type="radio" >男
<input type="radio" >女
<br>
学历:<select name="province">
<option>硕士</option>
<option>本科</option>
</select><br>
爱好:<input type="checkbox" name="hobby">篮球&nbsp;
<input type="checkbox" name="hobby">象棋&nbsp;
<input type="checkbox" name="hobby">乒乓球&nbsp;
<br>
<input type="submit" value="提交">
<?php var_dump($_POST)?>
</form>
</head>
<body>

</body>
</html>

posted @ 2022-03-28 09:22  Lindseyyip  阅读(139)  评论(0编辑  收藏  举报