<!--#include file="conn.asp"-->
<!--#include file="denlu.asp"-->
<%
id=request("id")
set rs=server.CreateObject("adodb.recordset")
sql="select * from Faq where id="&id
rs.open sql,conn,3,2

rs("title")=trim(request("title"))
rs("setname")=trim(request("setname"))
rs("setmsg")=trim(request("setmsg"))
rs("replymsg")=trim(request("replymsg"))
rs("isreply")=request("isreply")
rs.update

%>
<SCRIPT LANGUAGE="JavaScript">

  window.alert("你已经修改成功！");
  window.location.href="faq.asp?topage=<%=request("topage")%>";

</SCRIPT>
