06-15-2016, 12:27 PM
It's been a little while since I've used the count method, so I had to confirm. I put a method in the db class that does this for you. You can do something like this.
You can also see that kind of coding in action at the top of the admin panel. I hope that helps.
Code:
$query = $db->query("SELECT * from users");
Code:
$count = $db->count();
Code:
echo $count;
You can also see that kind of coding in action at the top of the admin panel. I hope that helps.