This is a quick'n dirty way to use MVC in php.
In short: A design pattern that aims to modularize an application into 3 parts.
The model represents the data for the application; the view represents the presentation;
and the controller ties these two together and deals with user input. ...