May i know how set active menu which page something like page.php?name=about
$a = basename($_SERVER['SCRIPT_NAME']);
<li<?php if ($a == 'page.php?name=about'){?> class="active"<?php }?>><a href="<?php echo $url; ?>/page.php?name=about" title="About">About</a></li>
My class won't active while on page.php?name=about
May I know how to fix it?