Welcome Guest, Not a member yet? Register   Sign In
How to get total records from Pager
#2

i used this approach to count entries in a db:

Code:
$query = $builder->where('category',$category)->countAllResults();
CMS CI4     I use Arch Linux by the way 

Reply


Messages In This Thread
How to get total records from Pager - by frocco - 09-22-2022, 10:39 AM
RE: How to get total records from Pager - by captain-sensible - 09-22-2022, 10:46 AM



Theme © iAndrew 2016 - Forum software by © MyBB