I'm trying to include some PHP script in with a HTML file, while I have found the command that achieves this, there seems to be an error in the way that I've layed out my code. I feel like I've missed a parentheses or something.
Here is a section of my HTML:
<title>Web Workers :: Home</title>
</head>
<body>
<?php
echo "<h1>Test</h1>";
include_once("htmlstatic.php");
?>
<nav id="navlist">
<ul>
<li class="links"> <a href="index.html">Home</a> </li>
<li class="links"> <a href="topic1.html">Web Workers</a> </li>
<li class="links"> <a href="register.html">Register</a> </li>
<li class="links"> <a href="quiz.html">Quiz</a> </li>
<li class="links"> <a href="results.html">Results</a> </li>
<li class="links"> <a href="about.html">About</a> </li>
<li class="links"> <a href="enhancements.html">Enhancements</a> </li>
</ul>
</nav>
<hr class="whitehr"/>
</body>
</html>
And here is my PHP:
<?php
echo "<h1>Web Workers</h1>";
echo "<hr class='whitehr'/>";
echo "<p>test</p>";
?>
Here is the output