CodeIgniter: Load controller within controller

The Solution to CodeIgniter: Load controller within controller is


Load it like this

$this->load->library('../controllers/instructor');

and call the following method:

$this->instructor->functioname()

This works for CodeIgniter 2.x.

~ Answered on 2013-01-04 15:11:48


Most Viewed Questions: