[1002] PHP入門班
<form action="save.php" method="post" enctype="multipart/form-data">
姓名:<input type="text" name="username" size="10" ><br>
隱藏框:<input type="hidden" name="op" value="update"><br>
密碼:<input type="password" name="pass" size="10"><br>
性別:
<input type="radio" name="sex" value="男" id="boy"><label for="boy">男生</label>
<input type="radio" name="sex" value="女" id="girl"><label for="girl">女生</label>
<br>
興趣:
<input type="checkbox" name="aaa[0]" value="琴" id="a1"><label for="a1">琴</label>
<input type="checkbox" name="aaa[1]" value="棋" id="a2"><label for="a2">棋</label>
<input type="checkbox" name="aaa[2]" value="書" id="a3"><label for="a3">書</label>
<input type="checkbox" name="aaa[3]" value="畫" id="a4"><label for="a4">畫</label>
<br>
年級:
<select name="class" size=1>
<option value="1">一年級</option>
<option value="2">二年級</option>
<option value="3">三年級</option>
</select>
<br>
<textarea name="content" cols=40 rows=5 >aaaa</textarea>
<input type="submit" value="儲存">
</form>