Here’s my code
<?php
if (basename($_SERVER['REQUEST_URI']) != '' || basename($_SERVER['REQUEST_URI']) != 'index.php'){
?>
<div class="hr" style="margin-top:25px;"></div>
<?php } ?>
I want to hide that DIV part when the page is index.php or simply the http://www.example.com
I have no error and it’s not working… why ?
I would try this out: