28,404
社区成员
发帖
与我相关
我的任务
分享sql="select top 1 * from table where b_yhbh='"&已经登陆的用户名变量&"' and datediff('m',b_tjtime,'"&now()&"')=0"set rs=....
sql="select top 1 b_tjtime from table where b_yhbh='"&传递过来的用户名变量&"' and datediff('h',b_tjtime,'"&你传递过来的时间变量&"')>0"
if not rs.bof then
response.write("你上一次添加距现在不超过12小时,请稍等再添加")
response.end
end if