I'm fairly new to PHP and I'm trying to include a navagation menu on a site I am doing. I coded the menu.inc file and tried to include it on all my pages with this code:
when I visit the page, I still see the php code and not the menu. I know that php works on my site because I have a messege board and guestbook set up with it. Am I missing something?
Also the directory and files are chmoded to 755
it might be a problem with your menu.inc .... try saving it menu.php
or follow this : in you index.php
in you menu.inc like this
echo "<a href=link.html>nav1</a>";
thats it..hope it helps you a lot