I have a menu.php but it does not do completely what i want. I want it to be able to recognise which page it is on and highlight or change the style appropriately. The colours etc i can manage however how to get the menu.php to recognise seems to be more complicated then i thought because im using includes etc.
this is the basic layout...
include header
(within header)
include menu
CONTENT
include footer
the thing is that i would use an if $page == but i am using multiple files and pages so i have pages.php with numerous ?page=testing as well as other pages too..
I thought i could do it with $PHP_SELF etc but it shows that as menu.php not as the page it is originated from..
Any ideas?