View Full Version : php title tags
10-30-2005, 10:49 PM
I have a site that is done in php, as far as I understand my menu is in htm and I put a php code in, I point that towards all the pages and do them in php, that way when I change the menu all my other pages update automatically. I have searched and searched and please forgive my naievity but I want to have a different title tag on each page and just can't figure out how to do it! Any helpers please?
11-19-2005, 02:00 PM
Not exactly sure what you are asking, but it doesn't matter if your pages are html or php, if you save them as .php they will be php pages, even if there is zero php coding in them.
As far as the titles go, edit the page you want to put the title on, and you should see a few tags at the top something like:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html dir="ltr" lang="en">
Directly under that and above the <body> tag you should put
<title>The Page Title Here</title>
thats it, page titles are done in html. Easy as that.
Powered by vBulletin® Version 4.2.1 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.