CodeIgniter Forums
Codeigniter Controllers and Views - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Codeigniter Controllers and Views (/showthread.php?tid=46705)



Codeigniter Controllers and Views - El Forum - 11-12-2011

[eluser]Unknown[/eluser]
Hello,
I'm using CodeIgniter and I have two controllers:
1.Index controller that loads the website view
2.Personal panel controller that will do all login, registration and personal panel functions. (Functions are loaded from models.)

The problem is that I don't have any clue how to insert that controller in a view file or in the other controller file so that it would load when I press submit button for a form or if the session's loggedin is with value true.