01-08-2010, 10:22 PM
[eluser]dadamssg[/eluser]
Ok so i have a website that stores and displays events. I have a Main controller to display each of the event categories.
I'm trying to recreate my login system using CodeIgniter. Do i create another controller that holds login functions and just call it into action in my Main controller? or should i put the login script in a model?
is it best practice to just have ONE controller or multiple?
Ok so i have a website that stores and displays events. I have a Main controller to display each of the event categories.
I'm trying to recreate my login system using CodeIgniter. Do i create another controller that holds login functions and just call it into action in my Main controller? or should i put the login script in a model?
is it best practice to just have ONE controller or multiple?