showinfo.asp

来自「同样是一个在ASP.NET+SQL基础环境下开发的网上BBS系统」· ASP 代码 · 共 27 行

ASP
27
字号
<!--#include file="conn.inc"-->
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>显示留言</title>
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
</head>

<body text="#800000" bgcolor="#FFFFFF">
<%
set Info=conn.Execute("SELECT Info FROM ever_user where UID='" & request("target") & "'")
if not (Info.bof and Info.eof) then

sql="UPDATE ever_user SET  NewInfo=0 WHERE UID='" & Request("Target") & "'"
conn.Execute sql
Response.Write ("你的留言如下:")
response.write Info("Info")
else
response.write "<font color=purple size=8>对不起,你没有留言</font>"
end if
set info=nothing

%>
</body>
</html>

⌨️ 快捷键说明

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