📄 answer.asp
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--#include file="conn.asp"-->
<%
dim txtname,editsql
txtname=request("name")
active=request("textanswer")
response.write(active)
response.write(txtname)
Set conn= Server.CreateObject("ADODB.Connection")
path=Server.MapPath("AnswerData.mdb")
conn.Open "driver={Microsoft Access Driver (*.mdb)};dbq="&path
editsql="update bbs set repcontent='"&active&"' where name='"&txtname&"'"
set trexe=conn.execute(editsql)
set conn=nothing
'response.redirect"bbs.asp"
'end if
%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>回复留言</title>
</head>
<body background="image/back.gif">
<div align=center>
添加成功
<a href="bbs.asp">返回首页</a>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -