Something wrong
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?

Messages In This Thread
Something wrong - by Sazze - 2015-05-30, 10:24 PM
RE: Something wrong - by mmadhankumar - 2015-05-31, 06:28 AM
RE: Something wrong - by Sazze - 2015-05-31, 08:38 AM

Forum Jump:

Users browsing this thread: 1 Guest(s)