jijie.asp
来自「一个简单的图书管理系统」· ASP 代码 · 共 10 行
ASP
10 行
<!--#include file="conn.asp"-->
<%
set qq=db.execute("select * from loans where uid="&request("uid")&" and bid="&request("bid")&"")
if qq("loan_") then
response.write "<script>alert('--不能继借2次咯--');window.location.href='my_borrow.asp?id="&request("uid")&"'</script>"
else
db.execute("update loans set loan_='1' where uid="&request("uid")&" and bid="&request("bid")&"")
response.write "<script>alert('恭喜,继借成功!');window.location.href='my_borrow.asp?id="&request("uid")&"'</script>"
end if
%>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?