帮我把下面每句asp代码都解释一下addbook.asp

来源:百度知道 编辑:UC知道 时间:2024/05/26 19:20:17
<!--#include file="../inc/conn.asp"-->
<!--#include file="checkpwd.asp"-->
<!--#include file="../inc/title.inc"-->
<%
nam=request.Form("nam")'姓名
sex=request.Form("sex")'性别
'response.Write sex
eage=request.Form("eage")'年龄
cn=request.Form("cn")'身份证明
zhengjianh=request.Form("zhengjianh")'证件号
guoji=request.Form("guoji")'国籍
danwei=request.Form("danwei")'单位
radiobutton=request.Form("radiobutton")'房间确定与否
response.Write radiobutton
if radiobutton then
chk=true
else
chk=false
end if
yea=request.Form("yea")'
mont=request.Form("mont")'
dat=request.Form("dat")'
renshu=request.Form("renshu")'人数
num=request.Form("hiddenField")'订单号
response.Write nu

我晕,这是谁写的代码,越写越乱,这代码能执行吗?要是真能运行,我还真服了他了~释了大半了,实在不想浪费时间,就这样了~分爱给不给吧~!
<!--#include file="../inc/conn.asp"-->
//引用conn.asp
<!--#include file="checkpwd.asp"-->
//引用checkpwd.asp
<!--#include file="../inc/title.inc"-->
//引用title.inc
<%
nam=request.Form("nam")'姓名
//获取表单name所传的值
sex=request.Form("sex")'性别
//获取表单sex所传的值
'response.Write sex
//前面加了单引号,这是注释
eage=request.Form("eage")'年龄
//获取表单eage的值
cn=request.Form("cn")'身份证明
//获取表单cn的值
zhengjianh=request.Form("zhengjianh")'证件号
//获取表单zhengjianh的值
guoji=request.Form("guoji")'国籍
//获取表单guoji的值
danwei=request.Form("danwei")'单位

radiobutton=request.Form("radiobutton")'房间确定与否
//获取radiobutton的值
response.Write radiobutton
//这句好像是错的,但是,没错的话,是写出radiobutton的值<