Forum Moderators: coopster
I am getting ready to add another 20 pages or so to the site and am wondering if I can use PHP or something else for the top of page, left, right, and bottom of page. My problem is everytime I want to change a link at the bottom or a category on the left I have to change it on all 50 pages! Takes forever. Any way I can make a file for just those parts and then call each page of the site to get them?
<?php
include("top.php");
include("content.html"); # contains page-specific content.
include("bottom.php");
?>
This is just an example. You can expand on this idea to create a templating system by making the content.html include dynamic.