关于一个ASP用户排行榜月底清零的修改!

[复制链接]
查看11 | 回复1 | 2012-6-21 10:55:54 | 显示全部楼层 |阅读模式
if day(now())=20 thenby=Month(now())set rs = Server.CreateObject("ADODB.RecordSet"):rs.cursorlocation=3rs.Open "select * from [admin] where [by]="&by&" order by id desc",conn,1,1if rs.recordcount=0 thenconn.Execute "update [admin] set [by]="&by&",[bylrsl]=0,[bycysl]=0 "end if...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行