<% if session("admin")="" then response.redirect "index.asp" end if lid=request("id") sql="select * from gbook where id=cint('"&lid&"')" set rs=server.createobject("adodb.recordset") rs.open sql,connstr,1,1 if not rs.eof then cname=request.form("cname") chuifu=request.form("chuifu") if cname<>"" then sql="select * from gbook where id=cint('"&lid&"')" set rs=server.createobject("adodb.recordset") rs.open sql,connstr,3,2 rs("name")=cname rs("huifu")=chuifu rs.update response.redirect "huifuok.asp" end if end if %> 回复留言

回复内容:

">