Sorry for double posting,(This is also in the newbies section) but I have only got one response there and I was curious if anyone else has seen this happen before or has suggestions.
I am learning to use includes for template design type pages. I am currently using these scripts.....
<?php # This is my new page file
$page_title = 'New Page Title';
include ('./includes/header.html');
?>
this is from header.html
<html><head><title><?php echo $page_title; ?></title></head>
this seems to work fine as my pages always show the correct title however my server error log shows that header.html has an undeclared variable for $page_title every time the page is accessed even though the rendered pages have the correct title inserted.
Is there something that I can do differently to keep these error messages from bogging down my server log? As I said before the script seems to run fine and page tiles always fill in but I still the error messages.
Thanks for any help!