I am trying to use the php include tag for my header and footer, and can't seem to find the problem. My include code is fine in my index file, and my header.php file shows no errors, but t doesn't include the file when I preview it in a browser. Is this an easy fix or am I missing something.
My index.php file include snippet
<div id="container">
<?php include('include/header.php');?>
<div id="body">
My header.php file code
<?php
echo <<<END
<header>
<nav>
<li onclick="location.href='index.html';" style="cursor:pointer;"><a href="index.html" class="active">Home</a></li>
<li onclick="location.href='#';" style="cursor:pointer;"><a href="#.html">Contact</a></li>
<li onclick="location.href='#';" style="cursor:pointer;"><a href="#.html">FAQ's</a></li>
<li onclick="location.href='#';" style="cursor:pointer;"><a href="#.html">Product Solutions</a></li>
<li onclick="location.href='#';" style="cursor:pointer;"><a href="#.html">Services</a></li>
<li onclick="location.href='#';" style="cursor:pointer;"><a href="#.html">Request a Quote</a></li>
</nav>
</header>
END;
?>