View Full Version : Web Page Title using PHP
e1seix
07-22-2007, 08:39 PM
is it possible to use php to decide the title of your web page? ie. within the <title></title> tags.
hmm... ;)
Of course, you can echo a title just like anything else...
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title> <?php echo 'Some title'; ?> </title>
</head>
<body>
<p>Content</p>
</body>
</html>Here's a basic PHP tutorial (http://www.php.net/tut.php).
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.