旅游法规期末案例试题:action=FormatSQL(SafeRequest("action",0))什么意思啊?

来源:百度文库 编辑:杭州交通信息网 时间:2024/05/09 10:28:14
<title>我的购物车</title>
<%
dim id,username,action
action=FormatSQL(SafeRequest("action",0))
id=SafeRequest("id",1)
username=trim(request.cookies("timesshop")("username"))

select case action
case "del"
conn.execute "delete from orders where actionid="&FormatSQL(SafeRequest("actionid",1))
if SafeRequest("ll",1)=22 then
response.redirect "profile.asp?action=addtocart"
else
response.redirect "addto.asp?action=show"
end if
response.End

其中action=FormatSQL(SafeRequest("action",0))
id=SafeRequest("id",1)
是什么意思啊?还有
conn.execute "delete from orders where actionid="&FormatSQL(SafeRequest("actionid",1))
if SafeRequest("ll",1)=22 then
小弟新手 ,看不懂