2015-05-30, 10:24 PM
Hey,
If I use this query
And then I get it using this {$activeusers}, it works but it gives me the total registered members instead.
Any idea?
If I use this query
$query = $db->simple_select("users", "COUNT(uid) AS activeusers", "lastvisit > '$timecut'");
$activeusers = my_number_format($db->fetch_field($query, "activeusers"));
And then I get it using this {$activeusers}, it works but it gives me the total registered members instead.
Any idea?