admin_statisticsave.asp

来自「庐江二中」· ASP 代码 · 共 39 行

ASP
39 行
字号
<!--#include file="session.asp"-->
<%checkAdmin3%>
<!--#include file="conn.asp"-->
<%

sql="select * from counters"
rs.open sql,conn,1,3
if request.form("total")="" then
rs("total")=0
else
rs("total")=request.form("total")
end if
if request.form("today")="" then
rs("today")=0
else
rs("today")=request.form("today")
end if
if request.form("yesterday")="" then
rs("yesterday")=0
else
rs("yesterday")=request.form("yesterday")
end if
if request.form("months")="" then
rs("month")=0
else
rs("month")=request.form("months")
end if
if request.form("bmonth")="" then
rs("bmonth")=0
else
rs("bmonth")=request.form("bmonth")
end if
rs.update
rs.close
set rs=nothing
conn.close
set conn=nothing
Response.Redirect "admin_StatisticModify.asp"
%>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?