制作ASP浏览次数

来源:百度知道 编辑:UC知道 时间:2024/06/02 23:52:30
if session("hits") ="" then
conn.execute("update 表名 set hits=hits+1")
session("hits") = 1
end if
%>
为何运行时出现缺少对象?

应该是这样:
conn.Execute("update news set hits=hits+1 where id="&id)

数据库的表名啊

conn 存在??

哈哈。。三个标准答案。都让他们说了`~

还不行就HI我`