PHP作业
<html>
<head>
<title>添加</title>
</head>
<body>
<center>
<form id="addinfo" name="addinfo" method="post" action="act.php?action=add">
<table>
<tr style="background: #666666;font-size: 30px ;text-align: center">
<td colspan="2">添加个人资料</td>
</tr>
<tr>
<td>姓名</td>
<td><input id="name" name="name" type="text"/></td>
</tr>
<tr>
<td>性别</td>
<td><input type="radio" name="sex" value="男"/>男
<input type="radio" name="sex" value="女"/>女
</td>
</tr>
<tr>
<td>兴趣爱好</td>
<td><input type="text" name="hobby" id="hobby"/></td>
</tr>
<tr>
<td>家庭住址</td>
<td><select id="address" name="address">
<option value="">请选择您的居住区域</option>
<option value="上海">上海</option>
<option value="广州">广州</option>
<option value="北京">北京</option>
</select></td>
</tr>
<tr>
<td>备注</td>
<td><textarea id="remark" name="remark" rows="5" cols="30">
</textarea></td>
</tr>
<tr>
<td><input type="submit" value="提交"/> </td>
<td><input type="reset" value="重置"/>
</tr>
</table>
</form>
</center>
</body>
</html>