⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 booksave_info.asp

📁 北京商务网
💻 ASP
字号:
<%@ codepage ="936" %>
<!--#include file="../conn/dbconn1.asp"-->
<!--#include file="../inc/check.asp"-->
<!--#include file="../inc/welcomtext.asp"-->
<%
dim bighy
dim lithy
dim showname
dim mmfx
dim period
dim content
dim bookid
dim linkman
dim address
dim email
dim phone
dim fax
dim postcode
dim web
dim city
dim country
dim rs
dim sql 
bighy=request("bighy")
lithy=request("lithy")
showname=request("showname")
mmfx=request("type")
period=request("period")
content=request("content")
bookid=request("bookid")
linkman=request("linkman")
company=request("company")
address=request("address")
email=request("email")
phone=request("phone")
country=request("country")
if trim(request("postcode"))="" then
post="空"
else
post=request("postcode")
end if
if trim(request.form("fax"))="" then
fax="空"
else
fax=request.form("fax")
end if
if trim(request.form("web"))="" then
web="空"
else
web=request.form("web")
end if
city=request.form("city")
set rs=server.createobject("adodb.recordset")
sql="select * from book where (info_id is null)" 
rs.open sql,conn,1,3
rs.addnew
rs("sortid")=bighy
rs("typeid")=lithy
rs("showname")=showname
rs("type")=mmfx
rs("period")=period
rs("bookid")=bookid
rs("content")=content
rs("linkman")=linkman
rs("company")=company
rs("address")=address
rs("mail")=email
rs("phone")=phone
rs("fax")=fax
rs("postcode")=post
rs("country")=country
rs("web")=web
rs("city")=city
rs("gsid")=session("id")
rs("dateandtime")=date()
rs.update
rs.close
response.write"<SCRIPT language=JavaScript>alert('您的信息提交成功,请返回');"
response.write"javascript:history.go(-1)</SCRIPT>"
set rs=noting
conn.close
set conn=nothing
%>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -