Handy PHP navigation solution

Recently I’ve been using PHP include function to present a common menu to a set of pages. As you’d expect it all works fine, the only problem being that the user can’t tell what page is currently being browsed from looking at the navigation.

After posting a message on the Textdrive forum, ruiling from the US sent me a link to this tutorial on Alistapart:


This uses the same include function but with a unique page identifier that is read by the menu.

So easy even I could understand it.