Guest Sound Posted September 1, 2008 Share Posted September 1, 2008 I run a website were you could read a lot of reviews. Every review is included into the index.php via; <?}elseif ($_GET['page'] == "stormwarriorheadingnorthereview"){?><? include("writings/stormwarrior_heading_northe_review.txt") ?> I simply want the "Stormwarrior" review (and all the other reviews) to get a different title than the rest of the site. What should I do? Link to comment Share on other sites More sharing options...
jlhaslip Posted September 1, 2008 Share Posted September 1, 2008 Someplace in the script, you need to have the php code echo the value you have for the page title. <?phpecho '<title >'; echo $title;echo '</ title >' ?> Or something like that. Perhaps use the $_GET['page'] variable as the value for title? Link to comment Share on other sites More sharing options...
SuperRoach Posted September 2, 2008 Share Posted September 2, 2008 You could have a global case statement, that has the titles written out for you properly....but since you have a get saying what the page is, you should tie into that. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.