Here is my code:
Atatched is a screenshot of what happens, anyone got any ideas? For some reason, only the first few lines of php in the files are being parsed.
PHP:
if(isset($_GET['page'])){
$page = $_GET['page'];
}else{
$page = 'main';
}
$contents = file_get_contents($page.'.php');
Atatched is a screenshot of what happens, anyone got any ideas? For some reason, only the first few lines of php in the files are being parsed.














