📄 needact.asp
字号:
<!--#include file=../conn/conn1.asp -->
<!--#include file="pass.asp"-->
<% city="& city &"
want=Request("want")
fc=Request("fc")
dd=Request("dd")
tx=Request("tx")
uid=Request("uid")
name1=Request("name")
square=Request("square")
price=Request("price")
zx=Request("zx")
lc=Request("lc")
person=Request("person")
phone=Request("phone")
date1=Request("date1")
content1=Request("content1")
quansh=Request("quansh")
if isnumeric(price)=true then
if content1="" then
content1=" "
end if
if date1="" then
date1="无"
end if
if name="" then
name=" "
end if
if square="" then
square=" "
end if
sql = "INSERT into need (City,Fangx,uid,Diduan,Taox,Lc,zx,Mianj,Jiag,Xiaoqm,qiu,Tele, content, D, Contperson ,quansh) VALUES ('"& city &"', '"& fc &"', '"& uid &"','"& dd &"','"& tx &"','"& lc &"','"& zx &"','"& square &"','"& price &"','"& name1 &" ','"& want &"','"& phone &"','"& content1 &"', '"& date1 &"','"& person &"','"& quansh &"')"
conn.Execute(sql)
%>
<script language=vbs>
<!--
MsgBox "您的信息登记成功!"
window.location.href="need.asp"
-->
</script>
<% else %>
<script language=vbs>
<!--
MsgBox "你输入的价格或租金不对,请检查!"
window.location.href="need.asp"
-->
</script>
<% end if %>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -