php(ex01a.php)
<?php
?>
<div style="position: absolute;height: 60%; 70%;left: 20%;top: 15%">
<form action="ex01b.php?act=add" method="post">
<table border="1" style="height: 100%; 100%">
<tr>
<td style="text-align: center" colspan="3">
添加个人信息
</td>
</tr>
<tr>
<td>真实姓名:</td>
<td colspan="2"><input 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 colspan="2"><input name="hobby" type="text"></td>
</tr>
<tr>
<td>家庭住址:</td>
<td colspan="2">
<select name="area">
<option selected>请选择你的居住区域</option>
<option value="亚洲">亚洲</option>
<option value="欧洲">欧洲</option>
</select>
</td>
</tr>
<tr>
<td>
备注:
</td>
<td colspan="2">
<textarea style="text-align: left"name="ect"></textarea>
</td>
</tr>
<tr>
<td colspan="3" style="text-align: center">
<input type="submit" value="提交">
<input type="reset" value="重置">
</td>
</tr>
</table>
</form>
</div>