电影幕布常规尺寸:怎样用数据库来保存asp统计点击数

来源:百度文库 编辑:高考问答 时间:2024/05/06 00:38:43
Dim Counter
Sub IncrementCounter()
Call Counter_Read()
set fs=server.CreateObject("ADODB.Recordset")

counter=rs("logintimes")
counter=counter+1
if rs("counttime")=1 then
end if
sqltext="select * from userinf where isonline=1 ORDER BY name, id DESC"
sql="update set logintimes="<%counter%>"rs.sql

上面这段代码是否有错?怎样怎样用数据库来保存asp统计点击数?

conn.execute "update 表 set counter = counter + 1 where id = "&id