Good Day,
I would just like to ask if controllers are better of to be:
-required/included on the view php file
or is it better if I:
-redirect the page to the controller php file then redirect to the view php file?
Help - Controllers (MVC)
Moderator: General Moderators
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: Help - Controllers (MVC)
Neither ... in PHP the Controller usually includes the Model and View -- then passes the Model to the View.
(#10850)
Re: Help - Controllers (MVC)
My first time trying to really use MVC. Looked at the diagram again, and yes, got it mixed up. Reorganize for a while, and go back and ask again if I have queries, thank you.