please help me,
here is the structure of my webpage.
/html/images 'store images
/html/etc 'include files
/html/main 'frontpage
/html/feedback 'feedback page
/html/about 'about page
In the folder /html/etc i have two main include files, header.in and footer.in where they pull images from the /html/images directive and link to each individual content page.
the code for one of the file for example '/html/about/index.php' is....
<? include("/html/etc/header.in")
?>
<p>blah blah</p>
<? include("/html/etc/footer.in")
?>
my problem is that php won't parse the include file. (it won't include my code from /html/etc/header.in. The output after running athe file '/html/about/index.php'
is just the same as the page itself.
<? include("/html/etc/header.in")
?>
<p>blah blah</p>
<? include("/html/etc/footer.in")
?>
-----===== I read a macromedia webdesign book, and it said that i could only include a file that do not have the following tags
,,<header>,</body>,<body>
is it true? I just want to make an include page of a navigation bar in which I do not have to update every page on my website. please help me, tahnkx