RE: [PHP] <title>

From: Date: Thu, 21 Dec 2000 08:49:38 +0000
Subject: RE: [PHP] <title>
Groups: php.general 
Request: Send a blank email to php-general+get-31379@lists.php.net to get a copy of this message
nope, there's no other way that would think of. It is the same thing when you want to print the number of items found in the database before list the rows. you then have to connect before the table, count these and then print the number and start listing rows. The exactly same thing is often with email composing. That's the way it works. Tell me if any of you think I am missing something. Cheers, (poka) Maxim Maletsky -----Original Message----- From: Alexander Alexeev [mailto:tnt@nizhny.ru] Sent: Wednesday, December 20, 2000 12:44 AM To: php-general@lists.php.net Subject: [PHP] <title> 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

« previous php.general (#31379) next »