% if Request("action")="savenew" then set rs = server.createobject("adodb.recordset") sql="select * from book where (id is null)" rs.open sql,objconn,3,3 rs.addnew rs("title")=Request("title") rs("name")=Request("name") rs("tel")=Request("tel") rs("company")=Request("company") rs("email")=Request("email") rs("demand")=Request("demand") rs.update rs.close Response.write "" end if%>
|
||||||||||||||||||||||||
|