im new to php and a picked up a book.
Now the problem that im having is trying to use external files here is the the "constant"
http://t3chtr0nicsplace.110mb.com/layout.html
And this is where i get an error when i try to include the header and footer into the index page
http://t3chtr0nicsplace.110mb.com/templates/index.php
or
Warning: require(templates/header.html) [function.require]: failed to open stream: No such file or directory in /www/110mb.com/t/3/c/h/t/r/0/n/t3chtr0nicsplace/htdocs/templates/index.php on line 3
<?php // script 8.5 - index.php
require ('templates/header.html'); # need the header
// leave the PHP section to display lots of HTML
?>
<div id="leftcontent">
<h1>Welcome to the Z3d0 Clan Fan Site</h1>
<p>Heres a whole lotta text. </p>
<p>Heres a whole lotta text. </p>
</div>
<?php // return to PHP
require ('template/footer.html'); // need the footer
?>