淘宝c店遭遇职业打假人:请教ASP问题 急!谢谢

来源:百度文库 编辑:查人人中国名人网 时间:2024/05/01 17:56:17
if
dim totalPut
dim CurrentPage, TotalPages
if not isempty(request("page")) then
currentPage=cint(request("page"))
else
currentPage=1
end if

if \'这条是错误语句,没有条件,应为if ... then
dim totalPut \'定义变量
dim CurrentPage, TotalPages \'定义变量
if not isempty(request(\"page\")) then \'如果PAGE已经初始化... (page不为空)
currentPage=cint(request(\"page\")) \'接收page并化为数字型赋给currentPage变量
else \'否则
currentPage=1 \'设置currentPage等于1,就是第一页
end if

\'分页函数的一部分还完