if statement on page title
Posted: Thu Aug 06, 2009 10:54 pm
I'm trying to add an if statement to the title of my webpage.
I basically want to say if the page is on detail.php then show this title, else show the normal title. Any ideas?
Thanks in advance
I basically want to say if the page is on detail.php then show this title, else show the normal title. Any ideas?
Code: Select all
if $pageurl = detail.php {
<title><? echo $tt_45['Address']." "; ?></title>
}
else
{
<title>Normal Title</title>
}