CodeIgniter Active Record - Get number of returned rows
Asked 07 September, 2021
Viewed 1.1K times
  • 57
Votes

I'm very new to CodeIgniter and Active Record in particular, I know how to do this well in normal SQL but I'm trying to learn.

How can I select some data from one of my tables, and then count how many rows are returned using CodeIgniters Active Record class?

Thanks, Tom.

11 Answer