大连直飞东京机票价格:代码一开始就request("se")="",请问......

来源:百度文库 编辑:查人人中国名人网 时间:2024/05/11 02:07:25
代码一开始就request("se")="",请问......这里的se是指哪里的?获取哪里的数值?起什么作用?
if then下面的
se=request.form("se")
else
se=request("se")
两个不是一个意思么,有什么区别呢?

< !--#include file="config.asp"-->
< html>
< head>
< title>用户列表</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
< %
dim MaxPerPage
dim sql
dim rs
dim gstBookID
dim totalPut
dim CurrentPage
dim TotalPages
dim i,j
if request("se")="" then
se=request.form("se")
else
se=request("se")
end if
if not isEmpty(request("pl")) then
pl=request("pl")
else
pl="id"
end if
if not isempty(request("page")) then
currentPage=cint(request("page"))
else
currentPage=1
end if
%>
帮忙解释一下这句话什么意思,谢谢!
if not isEmpty(request("pl")) then
pl=request("pl")
else
pl="id"
end if

有分的话,我就打分了,过会12点了,就可以赚分了

se=request.form("se")
表示获取表单里的se这项的值,该表单的action必须是post

se=request("se")
这个也是获取表单或者URL中的se参数,也就是说表单的action可以是post也可以是get

if not isEmpty(request("pl")) then
pl=request("pl")
else
pl="id"
end if
'如果request("pl")不是空的那么把request("pl")的值赋给pl
其它情况的话pl的值为"id"这个字符串