PHP Include Windows XP Notepad++ Editor - Nav Include Not Working - Nav Disappears
- by Lorianna Sprague
I am creating a website, and have a tabbed horizontal menu. In order to cut back on the number of files I have to edit when I have to make changes to the menu I want to put the navigation in a separate file that I can call using a PHP include statement. When I do this, however, the nav disappears entirely from the page. The rest of the content remains, and there are no error messages.
I have been looking for answers for this for weeks, and have tried every version of the PHP include statement that I could find. None of them worked.
This was the last attempt.
I have the file "nav.php" in a folder named "includes" in a main dir called "testsite"
I use Windows XP, use NotePad++ as my text editor, and have been testing in Firefox.
I can't find an answer anywhere - any help would be appreciated.
Lorianna