📄 count.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file=conn1.asp-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href="images/style.css" type=text/css rel=stylesheet>
<%
id=trim(request("id"))
if id<>"" then
Set rs=Server.CreateObject("ADODB.RecordSet")
sql="select * from NEWS where cstr(id)='"& id &"'"
rs.Open sql,conn,1,3
if not rs.bof and not rs.eof then
rs("mi222_count")=rs("mi222_count")+1
rs.update
new_count=rs("mi222_count")
end if
rs.close
end if
Response.Write("浏览:"&new_count&"次")
response.End()
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -