<!--#include file="conn.asp"-->
<%
set rs=server.createobject("adodb.recordset")
rs.open "select * from Faq where id=0",conn,3,2
rs.addnew

rs("title")=trim(request("title"))
rs("setname")=trim(request("setname"))
rs("setmsg")=trim(request("setmsg"))
rs("mgtype")="留言信息"

rs.update
rs.close
response.write "<script>alert('您的问题已经提交，我们将尽快给您答复，谢谢！');window.location.href='faq.asp'</script>"
response.End()
%>