PHP Template Question

Hi,

I am working on a new website and I am trying to teach myself some PHP to make this whole process easier. I am trying to create one master PHP template that will use variables to call the different HTML pages that will house the content.

Here is a very basic example of what I need it to do:


<body> 
 
<!-- Navigation with PHP Variable rather than links --> 
<a href=" PHP Variable ">Home</a> 
 
<!-- Body where the variables will load --> 
<?php ( Call the Variable ); ?> 
 
</body> 
 

Then the HTML file would be:


<div class="ClassName"> 
 
Content for the Home Page 
 
</div> 
 

I just need to know what to put there. I understand the basics behind it, but I don’t know what to call it or how to grab the HTML files that will house the content area. I also need to have the home page load by default.

Hopefully this is fairly painless.

Thanks,
Seth