Forum Moderators: coopster
I.e. If I have the same menu included in:
index.php
/pages/page1.php
/pages/category/page2.php
and the menu.php include is located in an "includes" folder at root.
How will the menu be able to link correctly to the different pages without me adding physical root to each page i.e. www.mysite.com/pages/page1.php.
I'm very confused and I'm sure this is a very simple thing?
Any help would be very much appreciated.
Once you've done this, you can include any script in that directory by name without worrying about where it is in the path. Just be mindful to give the included scripts unique names.
Take a look at the PHP manual page on 'how to change configuration settings [us2.php.net]'.