Showing Custom Pager (of counts) in CodeIgniter – Showing X to Y of Z results

Pagination in CodeIgniter is not at all perfect. Nothing is, as a matter of fact.

So one day, I had to implement this “Showing X to Y of Z results” in my SCRUD and I could not find anything on the CI website about it. A helpful Stackoverflow post was what came to the rescue. But as they say,

There is always room for improvisation.

So I made some new changes and implemented it my way. So, here goes, Continue reading “Showing Custom Pager (of counts) in CodeIgniter – Showing X to Y of Z results”