// Active/Non? $snonposters=$DB_site->query_first('SELECT COUNT(*) AS users,MAX(userid) AS max FROM user WHERE posts=0'); $nonposters=$snonposters['users']; $activemembers=$numbermembers-$nonposters; $activityrate=sprintf("%.2f",(1000*$activemembers/$numbermembers));