How do I replace front-end views with JSONs in Codeigniter 3? |
(08-20-2019, 09:54 PM)Ajax30 Wrote:(08-20-2019, 11:21 AM)ciadmin Wrote: What about something like https://www.codeigniter.com/user_guide/l...ntent_type In your Posts::index() ... Old code PHP Code: public function index() { would be exactly replaced by PHP Code: public function index() { |
Welcome Guest, Not a member yet? Register Sign In |