[eluser]Sanjabs[/eluser]
class Educates extends Controller {
function index()
{
$this->load->database();
$this->load->view('Testpage');
}
}//Working Controller
class Institutions extends Controller {
function other()
{
$this->load->database();
$this->load->view('Institution');
}
}//Controller that is displaying same page with missing components
Link is used is "institutions/other"
I recently checked with the following changes:
class Institutions extends Controller {
function index()
{
$this->load->database();
$this->load->view('Institution');
}
}
and set the link to 'institutions' only and it worked
Cant we use other methods other than index inside a controller to load a view....?