Forum Moderators: coopster
<?php echo $_GET['title']?>
PS: There is a parallel thread to this one located at [webmasterworld.com...]
$title = isset($_GET['title'])?$_GET['title']:'default_title';
if the variable 'title' exists in the $_GET array, $title will take its value, if not, it will take the value you define as default.
then you just need to echo the variable
<title><?=$title?></title>
<?php
$title = isset($_GET['title'])?$_GET['title']:'default_title';
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title><?=$title?></title>
</head>
<body>
</body>
</html>