Every single page has its own HTML code, which we're not going to change in the beginning. In a lot of situations, it's enough if you can add your own header, footer, and CSS code to change the layout of a single page. But don't worry, we're going to look at a slick way that allows you to change the HTML code as well.
In order to style single pages, we have to create a file called
view.php. Before we create this file, here's an illustration which shows you the process that a single page uses to show some output:
In the left column is the single page, the controller that prepares all the ...