- 作者:xiaoxiao
- 发表时间:2020-12-23 10:53
- 来源:未知
<FORM METHOD="POST" NAME="form1" ACTION="reg.asp"><INPUT TYPE="text" NAME="name"> 姓名<BR><INPUT TYPE="password"> 密码<BR><INPUT TYPE="radio" NAME="sex" value="男"> 男<BR><INPUT TYPE="radio" NAME="sex" value="女"> 女<BR><select name="city"> <option value="上海" selected>上海</option><option value="北京">北京</option><option value="北京">天津</option> <option value="北京">北海</option> <option value="北京">合浦</option> </select> 城市<BR><INPUT TYPE="submit"> <INPUT TYPE="reset"></FORM>
----------------------------------------------------------------
reg.asp
<% name=request.form("name") psw=request.form("psw") sex=request.form("sex") city=request.form("city") response.write nameresponse.write ("<br>")response.write psw response.write ("<br>")response.write sex response.write ("<br>")response.write city %>