?? add_fangjian.asp
字號:
<!--#include file="../inc/title.inc"-->
<!--#include file="../inc/conn.asp"-->
<!--#include file="checkpwd.asp"-->
<%
fanghao2=request.Form("fanghao2")
roomlei=request.Form("hiddenField")
if fanghao2="" then
response.Redirect("chuanjinafj.asp")
end if
sql1="select * from fj where roomname='"&fanghao2&"'"
set rs1=conn.execute(sql1)
if not rs1.eof then
response.Redirect("chuanjinafj.asp")
else
sql2="insert into fj (roomlei,roomname) values("&roomlei&",'"&fanghao2&"')"
conn.execute(sql2)
conn.close
end if
conn.close
%>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -