📄 addcontent.asp
字号:
<!--#include file="conn.asp"-->
<%
var rs=Server.CreateObject("ADODB.Recordset")
rs.Open("news",conn,3,3)
rs.AddNew()
rs("anthor")=Session("username")
rs("title")=Server.HTMLEncode(Request("title"))
rs("content")=Server.HTMLEncode(Request("content"))
rs.Update()
Response.Redirect("new.asp")
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
</head>
<body>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -