Set the variable in a file that will be included globally throughout the site
<?php $title = "Chris Deeley"; ?>.

Then in your HTML template you ECHO the vaiable.

<title><?php echo $title; ?></title>


On 12/26/05, Dustin Krysak <[EMAIL PROTECTED]> wrote:
> the html title tag. You can echo it out with PHP.
>
> d
>
>
>
>
> On 26-Dec-05, at 11:16 AM, Christopher Deeley wrote:
>
> If there a way to set the page title (ie the thing that appears in he
> browser window) using PHP?
> At the moment all my pages display the full path (ie
> http://www.mydomain.com/page.php) in the title bar. Is
> there any way using PHP to change this to display a title I want?
>
> Thanks
>
>
>
> ----------
> Dustin
>
>


--
Best regards,



Daniel C. Jallits
100 E. Oneida Avenue
Elmhurst, Illinois 60126-4465
United States of America
T: 630.279.2798 | M: 630.670.3775
[EMAIL PROTECTED] | jallits.wordpress.com

Reply via email to