CodeIgniter Forums
query regarding controller and model - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forum-21.html)
+--- Thread: query regarding controller and model (/thread-31394.html)



query regarding controller and model - El Forum - 06-17-2010

[eluser]UdayD[/eluser]
Do controller work as intermediary between view and model.
Is whatever related to database and forms handled by model and and then passed to a controller?


query regarding controller and model - El Forum - 06-17-2010

[eluser]Ivar89[/eluser]
Yes ^^, at least thats the MVC way for databases
I think its easier to do your forms in controller, but thats just me.