📄 savemodify.asp
字号:
<!--#include file="conn.asp"-->
<!--#include file="includes/GeneralTools.asp"-->
<%
dim title
dim content
dim theid
title=request("title")
content=request("content")
theid=request("id")
call tackleEmpty(title)
call tackleEmpty(content)
call tacklePrime(title)
call tacklePrime(content)
sql="select * from news where id="&theid
rs.open sql,conn,1,3
rs("title")=title
rs("content")=content
if request("updatetime")="yes" then
rs("addtime")=Formatdatetime(date(),2)
end if
rs.update
rs.close
call CloseDB()
response.redirect "list.asp"
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -