My first post - and probably a real newbie question too...
The situation is as follows:
1. I use include() to put together various parts of a HTML page (headers, footings, navigation menu etc.):
index.php:
include(headerstufffile.php)
include(navigation.php)
(some content here)
include(footerstufffile.php)
2. I would like the navigation menu to change depending on which file I'm in. Let's say that in the navigation menu I have a link to a new page, page2.php, with the same includ(navigation.php).
Is there a way to use the name page2.php as a variable in navigation.php to load some different menu items for that page only?