Here is this issue I have came cross. I wrote this code 2 years ago and for some reason it's not working... I do believe it's the MAMP PHP setup. Please help...
Code: Select all
<?php if(!isset($page)) $page="home"; include("pages/$page.php"); ?>
If you know a work around that will help too