Hey,
I have a template that I am using for every page on my site. The template looks like this:
<? include("/usr/home/offguard/webdocs/includes/header.inc") ?>
<? $title = 'An Online Publication';
$description = 'This page is cool.'; ?>
Body text Here. Body text Here. Body text Here. Body text Here. Body text Here. Body text Here. Body text Here. Body text Here.
<? include("/usr/home/offguard/webdocs/includes/footer.inc")?>
I can print the variable as long as I put the code to print the variable in the actual template. I need to be able to print the variables in the text files that are included into the template! When I put the <? print $title ?> into the header.inc file it will not print! But if I put it in the template.phtml file it prints just fine!
What am I doing wrong here?
Thanks,
Jeremy