Quote:
$userArray=$DB_site->query("SELECT username,userid,email,adminemail,emailDate FROM user WHERE lastactivity
<$cutoffdate and emailDate<$dateCut and away==0 ORDER BY username");
This would exclude anybody who set themself as away. [/B]
|
shouldnt that be
Code:
$userArray=$DB_site->query("SELECT username,userid,email,adminemail,emailDate FROM user
WHERE lastactivity<$cutoffdate and emailDate<$dateCut and away =0 ORDER BY username");
Sorry if i am wrong but i don't know much php etc and it just looked incorrect.