I am using this code in a PHP include to give a class to the active page the user is currently browsing.
<li id="nav11">
<a <?php if ($_SERVER['REQUEST_URI']=="contact") echo " class=\"actv\""; ?> href="contact">Contact</a>
</li>
My page is called http://www.domain.com/contact.php
However, nothing happens with my code above.