CodeIgniter Forums

Full Version: controller in side other controller
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi 

I have a problem, can`t find solve fot them.
I have controller, name: Logon, working good. I wont use same controller in side other controller, if I code $this->load->view('Logon') I can see my formbut his don`t working. I konow why, because this view load don`t call to controller 'Logon' and don`t call model 'Logon_model' 
How I can use this controller?
Sory for my Language ;{  but I need help ;]]  THX
(04-15-2017, 07:11 AM)work.steve Wrote: [ -> ]Hi 

I have a problem, can`t find solve fot them.
I have controller, name: Logon, working good. I wont use same controller in side other controller, if I code $this->load->view('Logon') I can see my formbut his don`t working. I konow why, because this view load don`t call to controller 'Logon' and don`t call model 'Logon_model' 
How I can use this controller?
Sory for my Language ;{  but I need help ;]]  THX

Couldn't get much of what you want to say, but if you need to show your login form at 2 locations, just make sure action of the form in both places point to same location.