Re: <title>
| From: | Marcelo Gulin | Date: | Tue, 19 Dec 2000 22:35:33 +0000 |
| Subject: | Re: <title> | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-31059@lists.php.net to get a copy of this message | ||
Hi!
try <title><? print($title); ?></title>
good luck
Marcelo Gulin
Alexander Alexeev escribió:
> 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?
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net