PHP Include Menu Demo

Home

This is the Home page … blah blah blah.


This page is part of a demonstration of the technique described in the tutorial "How to Create a Menu That Indicates the Current Page, as a PHP Include." Click on the different menu items to see this demo in action. Note that the menu on all four pages in this demo is from the same PHP include file, meaning that the menu’s HTML code on all four pages is identical — yet the menu changes to indicate the current page. Neat trick, eh?

Back to the tutorial.

Valid XHTML 1.0 Strict    Valid CSS!