?? answer.asp
字號(hào):
<!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>回復(fù)留言</title>
</head>
<body background="image/back.gif">
<div align=center>
添加成功
<a href="bbs.asp">返回首頁</a>
</div>
</body>
</html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -