I have a website with a php page structured like this:
<html>
<head>
Appropriate stuff
</head>
<body>
<div ="header">
<?php include 'header.inc' ?>
</div>
<div ="menu">
<?php include 'menu.inc' ?>
</div>
<div ="content">
<?php include $PageContent ?>
</div>
<div ="footer">
<?php include 'footer.inc' ?>
</div>
</body>
</html>
I'll call this page "mypage.php" I would like to call this page from the menu and be able to pass the variable "$PageContent" to cause different include files to be loaded for the content section of the page. How do I do this?
Thanks for any help.