Codeigniter application: how can I display pagination as JSON?

zamfir80 profile image Razvan Zamfir ・1 min read

I am working on a blog application with Codeigniter 3.1.8.

Currently, its admin area is well separated from the frontend.

In the frontend, I have managed to replace "classic" Codeigniter views with JSONS. (the JSONS are displayed and "handled" with AngularJS).

Here is the code in the controller for…


markdown guide