Action=trim(request("Action")) if Action="" then Action="ShowInfo" end if

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/11 02:06:09
Action=trim(request(

Action=trim(request("Action")) if Action="" then Action="ShowInfo" end if
Action=trim(request("Action")) if Action="" then Action="ShowInfo" end if

Action=trim(request("Action")) if Action="" then Action="ShowInfo" end if
Action = trim(request("Action"))
从request集合中获取action的值,并去掉前后可能存在的空格,赋值给Action变量.
if Action="" then Action="ShowInfo" end if
如果Action变量值为空字符串,那么将"ShowInfo赋值给它,一般是用于默认动作.