Hi
I am a newbie to php and need some advice.
I'am developing a site that uses tpl files for the header, body and footer. This is then built using php includes.
The problem i have is that the header contains the html <title> but i want the body title added to this so the browser would display both as the title.
I think it is something along the lines of creating a variable called lets say SITE_TITLE for the header and PAGE_TITLE for the body then add the two together in the <title> tag.
Could someone put me straight on the syntax pleeeeaase!
I do hope my question makes sense, please be frank i can take it.
Thanks
I am a newbie to php and need some advice.
I'am developing a site that uses tpl files for the header, body and footer. This is then built using php includes.
The problem i have is that the header contains the html <title> but i want the body title added to this so the browser would display both as the title.
I think it is something along the lines of creating a variable called lets say SITE_TITLE for the header and PAGE_TITLE for the body then add the two together in the <title> tag.
Could someone put me straight on the syntax pleeeeaase!
I do hope my question makes sense, please be frank i can take it.
Thanks