Hi-
I'm trying to build this small template system...but I keep getting an error. The links in menu.php point to $page.html. But the problem seems to lie in the require_once ("$page.html"); - This is not allowed. How come? This is the error:
Fatal error: Failed opening required '.html' (include_path='.;c:\php4\pear') in C:\FoxServ\www\Other\template.php on line 12
<div class="body">
<?php require_once ("$page.html"); ?>
</div>
<div class="menu">
<?php require_once ("menu.php"); ?>
</div>
Thanks for any help!
Also, if and when it works should I change that to $_GET['page'].html instead of $page.html?