<title>
| From: | Alexander Alexeev | Date: | Tue, 19 Dec 2000 15:43:52 +0000 |
| Subject: | <title> | ||
| Groups: | php.general php.general | ||
| Request: | Send a blank email to php-general+get-31050@lists.php.net to get a copy of this message | ||
My problem is how to print correct title 4 html page, when i could
know it only then i run some php code.
<html>
<head>
<title><?=$title?></title>
</head>
<body>
<?
// some php code...
...
...
?>
</body>
</html>
The only way i think is to run some php code before <title> sent, and
store all output into variable. Instead of echo "bla-bla-bla" use
$output.="bla-bla-bla"
Dose anybody know a better way?