many options are available for this. It realy depends on the type of site you have and how complex your code is. Here are a few options:
- code the template as you like and place a case statement where each page content whould be. then link every page in you site to the template passing a varaiable, for example index.php?pg=home or index.php?pg=form.
... some of you template here
<?php
switch "$pg" {
case "home":
// home page code
break ;
case "form":
// form page code
break:
}
?>
.. some more template code.
- just place you template in a file, say called template.php, and on every page simple include it like this:
include("template.php");
the choose is yours !!😃