📄 yd2.asp
字号:
<!--#include file="pass2.asp"-->
<!--#include file=conn.asp-->
<%
id=trim(request("id"))
if id<>"" then
sql=" insert into [yuding](book_id,user_id)values("&id&","&session("id")&")"
response.write"<script language='javascript'>alert('预定成功!');window.location.href='yd.asp';</script>"
else
response.write"<script language='javascript'>alert('错误操作!');window.location.href='index.asp';</script>"
end if
conn.execute(sql)
conn.close
set conn=nothing
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -