📄 checknote.asp
字号:
<%
studentid=session("studentid")
name=session("name")
sub checknote
dim tips
tips=0
set rs=server.createobject("adodb.recordset")
sql="select * from permsg where towho='"&studentid&"' and isread=0"
rs.open sql,conn,1,3
while (not rs.eof)
tips=tips+1
rs.movenext
wend
if tips>0 then
txt="<p><a href='readnote.asp?studentid="&studentid&"'>新短消息"&tips&"条</a></p>"
response.write txt
end if
rs.close
set rs=nothing
end sub
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -