The simplest approach is the one described by Sjoerd.
If your page only contains some few elements, there is noting wrong with a switch or if statement.
index.php:
<html>
<body>
<!-- Wrapper div -->
<div id="wrapper>
<!-- Header div -->
<div id="header">
<?php
include('header.php'); // File containing header code
?>
</div>
<!-- Content div -->
<div id="content">
<!-- Left Colon div -->
<div id="leftCol">
<?php
include('leftMenu.php'); // File containing the menu
?>
</div>
<!-- Center colon -->
<div id="centerCol">
<?php
$page = $_GET['page']; // To get the page
if($page == null) {
$page = 'index'; // Set page to index, if not set
}
switch ($page) {
case 'index':
include('frontPage.php');
break;
case 'about':
include('about.php');
break;
case 'contact':
include('contact.php');
break;
}
?>
</div>
</div>
<!-- Footer div -->
<div id="footer">
<?php
include('footer.php'); // File containing the footer
?>
</div>
</div>
</body>
</html>
header.php:
<?php
echo "This is header";
?>
leftMenu.php:
<?php
echo "<a href='index.php/?page=index'>Front Page</a>"; // set page to index
echo "<a href='index.php/?page=about'>About</a>"; // page = about
echo "<a href='index.php/?page=contact'>Contact</a>"; // page = contact
?>
and so on
http://stackoverflow.com/questions/6480947/layout-of-a-simple-php-mysql-website
?