编程语言
首页 > 编程语言> > 用php提交表单

用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>

标签:申请表,象棋,表单,乒乓球,nbsp,提交,php
来源: https://www.cnblogs.com/lyf3701/p/16065174.html