Quote:
Originally Posted by lampdev112
would advise that you use a templating engine such as PHPTAL, or XSLT if you prefer, rather than having header and footer files to do your printing.
|
Agreed. Best way. Also don't use queries on each page just for this. Create another variable in the php page called page_title to which you add as you generate the page (e.g. add article title if any) then output it in the template system.