Quote:
Originally posted by FireFly
Replace:
Code:
WHERE userid<>$daybits[1]
with:
Code:
WHERE userid<>$daybits[1] AND lastactivity>".time()-(86400*14)."
(14 is the number of days)
By the way, I'm not sure myself whether it's lastactivity or lastvisit we need to check, so I'm open for corrections here.
|
Chen, any idea on how to get the time feature to work with that mysql you gave me? I played with it a bit and couldn't figure it out.
Thanks
Chris