I've read other posts on here and have tried to simplify the code, but am having problems:
I've got a page - index.php - within that page is a hard coded header & footer with a php function that calls up another page - for example: default.php
Header
default.php
Footer
No problems...except I'd like the page titles to reflect the content from default.php
I tried by putting this in the <head> tag of index.php:And putting this in default.php:HTML Code:<title><?php echo($title);?> - MyFantasticWebPage.com</title>
but it didn't work....can some steer me in the right direction?PHP Code:<?php
$title = "Casino Chair";
?>
My actual page example is here: http://www.fiberartfurniture.com/col...php?c=LE0706JC
Thanks
--bp



Reply With Quote

Bookmarks