Hello Guys, I am not the best personally with PHP, but I am trying to do something, with IF,Else Statement. Basically, I want to put an image on every page except the home page, and we are doing it via our footer.php. So what we want to do is have this image display on all pages EXCEPT the home page, so currently what I have is this, but it doesn't seem to be working correctly. <?php $file = $_SERVER["SCRIPT_NAME"]; If ($file="/index.php") Else <img src=www.domain.com/image.jpg"> ?> Please help if you can, it would be much appreciated.
<?php $file = $_SERVER["SCRIPT_NAME"]; If ($file=="/index.php") {} else{ echo "<img src='http://www.google.co.in/images/nav_logo65.png'>"; } ?>