Ok, I know someone here will know how to do this.
I want a main display page (index.php) to display all of my relevant data. This way, I can change one document and have it reflected across the entire site.
What I did was, create my index.php with an include() for my navigation links.
In my main index.php page I have a section where I used an include() for the content .
So the index page would look like this:
<div id="maincontent"><?php include $pagecontent; ?></div>
First, how do I set the page up so that the home page loads with the HOME button and when someone just navigates to the page? Second, how should I code the links so that $pagecontent is reflected properly.
Right now the links are set up like this.
<li><a href="<?php $pagecontent="contactus.php"; ?></li>
What am I doing wrong? Probably all of it right?