📄 untitled.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--include file="opendb.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>编辑贴子</title>
</head>
<body>
<%
id=request.Form("id")
title=request.Form("title")
content=request.Form("content")
answertime=date()+time()
strsql="update forum set title="&"'"&title&"'where id="&Id
my_conn.excute strsql
strsql="update forum set content="&"'"&content&"'where id="&Id
my_conn.execute strsql
strsql="update forum set createtime="&"'"& answertime&"'where id="&Id
my_conn.execute strsql
%>
<script language="vbscript">
msgbox"贴子已更新",48,"更新成功"
window.location="index.asp"
</script>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -