Boofo
03-12-2003, 08:20 AM
Can anyone please tell me what is wrong with this line of code?
AND lastactivity>'.$lastposttime[dateline]-(86400*30).'
I am trying to make it so the query will not return the same name over for at least 30 days. If the username has been picked, I don't want his name drawn again for at least another 30 days. Once a month, I guess is what I mean. I think I'm close but I haven't quite got it yet. Anyone have any ideas what I might be missing or doing wrong?
Do I need to use lastvisit instead?
AND lastactivity>'.$lastposttime[dateline]-(86400*30).'
I am trying to make it so the query will not return the same name over for at least 30 days. If the username has been picked, I don't want his name drawn again for at least another 30 days. Once a month, I guess is what I mean. I think I'm close but I haven't quite got it yet. Anyone have any ideas what I might be missing or doing wrong?
Do I need to use lastvisit instead?