CodeIgniter Forums

Full Version: Confusion between Model and controller
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

Hi! all

i have a slight confusion between what do we have in model and what do we have in controller. I often think both have same things??

El Forum

1 sec. of google got me

And a lot of other resources.

In short:
Model = data
Controller = logic
View = screen (Html, xml etc)

El Forum

check it also