possable to marque the tittle?
Moderator: General Moderators
-
gaogier
- Forum Contributor
- Posts: 391
- Joined: Wed Mar 02, 2005 1:02 pm
- Location: Portsmouth, UK
- Contact:
possable to marque the tittle?
Would it be possable to marque the tittle, mabey, change the title when someone loads a page, but using the include tags, (change the head of the html code)?
You can change the html title with php.
Your page needs to be a file with a .php extension or your webserver must be setup to interpret .html page as PHP
Is one way to do it.
Your page needs to be a file with a .php extension or your webserver must be setup to interpret .html page as PHP
Code: Select all
$Title = "My Title";
?>
<html>
<head>
<title><?=$Title?></title>
</head>
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
viewtopic.php?t=65205 may be of interest