View Single Post
Old 04-23-2014, 12:12 AM   #2
guiltyCrown
Registered User
 
Join Date: Apr 2014
Location: UK
Posts: 15
Quote:
Originally Posted by lampdev112 View Post
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.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
guiltyCrown is offline   Reply With Quote