In Dreamweaver, you can create a template that will contain the header, footer, and links. If you have a 50-page site and you need to modify the header, footer, or links, you just make your change on the template and all the pages associated with the template will be updated. Under ASP.NET, the Master Page accomplishes the same. Is there such an animal with PHP?
To clarify, here's what I'm looking for:
[INDENT]1) A template/Master Page under PHP which contains the header, footer, and links. I guess you can also call this page the shell or layout of the site.
2) For the sake of this post, let's say I'm going to have a 50-page static site; I will not be using a database, maybe later, but not now. Each page will have it's own content (content1.php - content50.php).
3) I want to build the content pages separately, but apply the template/Master Page to them.[/INDENT]
If someone can direct me to an online tutorial, or post an example on how to do this, I'd greatly appreciate it. Just to let you know, I think I know what has to be done, but something is not clicking for me. So, when you post your code, please make it very simple for us that are struggling, and in unison we will probably smack our foreheads and say, "Damn, could of had a V-8!!!"
Thanks in advance for your help!