Hello, can anyone help, I need to know what code to add that checks to see if its the website home page, and if its not shows a banner. Thanks
worked it out, thought I'd share below To show on every page apart from home use the below <?php $homepage = "/"; $currentpage = $_SERVER['REQUEST_URI']; if($homepage<>$currentpage) { echo 'Adcode here' ; } ?> use the below for the code to appear on the home page only <?php $homepage = "/"; $currentpage = $_SERVER['REQUEST_URI']; if($homepage==$currentpage) { echo 'Adcode here' ; } ?>