Hello,
I have a website with multiple levels and have attempted to use server side includes for the navigation. Each webpage has the <?php include 'menu.php'?> code in it which gets to the file with links for the site's pages.
* "webpage.php" uses a relative link to call "menu.php" (no biggie)
* "menu.php" has relative links to all pages (problematic)
When the webpage is rendered in the browser, code from the "menu.php" include file is simply inserted into the "webpage.php". The relative links in "menu.php" work great for webpages on the same level, BUT it doesn't work for pages on other levels. Am I stuck with having to use 4 separate 'menu.php' include files for the 4 different levels of the website? All I want to do is use a single "menu.php" include file and have it utilized by all pages in all levels. Possible?