大极拳实战技击:<%if fla0<>1 then是什么意思,高手进..

来源:百度文库 编辑:高考问答 时间:2024/05/05 06:42:18
<%if fla0<>1 then
response.write "<script>alert('操作权限出错,您没有权限操作些功能');history.go(-1);</Script>"
Response.End
end if%>
<%if request("action")="save" then
for i=0 to 26
b=request(i)
if b="" then b=0
a=a&"|"&b
next
a=replace(a," ","")
a=right(a,len(a)-1)

conn.execute("update SMT_config set SMT_flag='"&a&"'")

Application("citycss")=""
response.redirect "config_flag.asp?action=reh"

elseif request("action")="reh" then
response.write"<meta http-equiv=""refresh"" content=""0;URL=config_flag.asp"">"
response.end
end if
这段句子的意思...请高手进..谢谢
<%if request("action")="save" then
for i=0 to 26
b=request(i)
if b="" then b=0
a=a&"|"&b
next
a=replace(a," ","")
a=right(a,len(a)-1)

<% 是asp脚本的开始标志,后还应该有 %>

if fla0<>= then 是标准的VBscript语言。

if fla0<>1 then
response.write "<script>alert('操作权限出错,您没有权限操作些功能');history.go(-1);</Script>"
Response.End
end if

如果变量fla0的值不等于1,则执行if和end if之间的代码..^_^