Thanks so much, I think this is what I need.
The only thing is that my class style is on the <li> tag and not on the <a> tag. The second problem I am facing is that my <li> tag has 2 class styles attached to it e.g
Would you be able to tell me how to write the if statement to dynamically set the class to the <li> tag instead. Also would you also be able to show me how the if statement would look with the variable and without the variable e.g
<li class="services"><a href="management.php?action=search"></li>
The reason I need to know how to declare both is because framework builder already allows you to set a default plugin to load so I would not need to have the variable in the url when creating my main navigation, only when creating my sidebar navigation.
Many thanks in advance