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.
|
when I changed it to go by the activity, it gave me an error. I don't know why, I copied everything correctly.