Saturday, 17 August 2013

PHP include Statement Issue

PHP include Statement Issue

I have a menu.php file I need included in each page on a site I am
building. When I open the menu.php by itself it works fine. It's when I
have it included in other files such as index.php that nothing loads.
Below is my index.php content. My menu.php is strictly html with a .css
style sheet linked. I have searched and can find nothing to solve my
problem. Any suggestions?
<html> <head>...</head> <body> <?php include 'menu.php'; ?> </body> </html>

No comments:

Post a Comment