name=ubb(request("name"))
txt=ubb(request("txt"))
if name="" or txt="" then response.redirect "ly.asp?o="&o&"&cw=1"
if name=session("name") and txt=session("txt") then response.redirect "ly.asp?o="&o&"&cw=2"
if session("lycs")>2 then response.redirect "ly.asp?o="&o&"&cw=3"
set rs3=server.createobject("ADODB.Recordset")
Sql3="select * from [lybook]"
rs3.open Sql3,conn,2,3
rs3.addnew
rs3("name")=name
session("name")=name
rs3("txt")=txt
session("txt")=txt
if session("lycs")="" then session("lycs")=1
if session("lycs")"" then session("lycs")=session("lycs")+1
rs3.update
rs3.Close
set rs3=nothing
%>
提交成功,请等待站长回复!
留言列表