Codeigniter pagination record count and display
New here? Learn about Bountify and follow @bountify to get notified of new bounties! x

Codeigniter script displaying number of records in table. Pagination is in effect so I would prefer it to look like this: "Showing 1-5 of 250 results"

awarded to phpgeek

Crowdsource coding tasks.

2 Solutions

Winning solution

The easy way would be to add something like this in your controller.

Take a look at this example:
http://phpgeek.dk/examples/pagination.phps


Check out the script of pagination in codeigniter in this article https://www.cloudways.com/blog/pagination-in-codeigniter/

View Timeline