Code:
<?php
if($page == ""){$page = "main";} ;
if($name == ""){$name = "blank";} ;
if($gallery == "true"){require("pics/".$name."_index.php");}
else {require("$page.php");}
?>
If i set gallery to 'true' and name to 'hols' (which the page its linking to exists) it just shows a blank page...
index.php?gallery=true&name=hols
Im sure it something to do with
require("pics/".$name."_index.php");
but Im not sure what...