How to 'Model-view-controller' in PHPSection: PHP

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. ...


I'm not gonna explain MVC more than that, there are plenty of resource out there explaining what mvc is.
Sections 
- PHP (1)
- General (2)
- Ruby on Rails Snippet (3)
- Ruby on Rails (13)
- HTML (1)
- Css (1)
- regex (1)
- Photoshop (1)
- Leopard (1)
A little note to Internet Explorer users:
This site is not made for Internet Explorer. Some pages may look like shit. Yes, i could fix it for IE, but no, I'm not gonna do it. Try Opera or Firefox instead!