echo based on url
Hey Ray
How would I change this
<?php echo(($_SERVER['REQUEST_URI']=="/practice/".$PracticesSubNav->getColumnVal("Permalink"))?"active":""); ?>
so that if you removed $PracticesSubNav->getColumnVal("Permalink") the domain (looking like this www.domain.co.uk/practice/another_page) echoes 'active' so long as /practice/ is in the url?
cheers