PHP nav excitement
Very exciting and very useful. One file, umpteen possibilities. Have an include file show which page you’re on by looking at the URI in your top bar.
$myAdd = $_SERVER["REQUEST_URI"];
and
for example: if (strstr($myAdd, “about.php”)) {
I am illuminated
} else {
rollover me now
}
This is pretty much all you need. All details for the nav rely on $myadd. It does mean that as long as you use an include file for your nav then it’s all done in one file.
Email us for examples.



