Re: [PHP] Setting title via included file

2001-11-20 Thread Chris
[posted and mailed] Jim Lucas addressed php.general and spake thusly: >> I have a page that includes a file in the middle, but I wish to set >> the title of the page based on a variable set in the included file-- >> is this possible? >> >> Basically, I was doing this for the output buffering:

Re: [PHP] Setting title via included file

2001-11-20 Thread Jim Lucas
try it the other way around. capture the output of the included file before you send/display the title Jim - Original Message - From: "Chris Lott" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 20, 2001 3:44 PM Subject: [PHP] Setting title v

[PHP] Setting title via included file

2001-11-20 Thread Chris Lott
I have a page that includes a file in the middle, but I wish to set the title of the page based on a variable set in the included file-- is this possible? PHP processes the page sequentially, so if I have $foo = Title in the included file, it is too late to use it for the title of the main doc