You are inside a function and not either passing the variable to the function 
or declaring it global within the function.
In other words, as far as your function is concerned, the 
$language['program_name'] is empty. 

> 
> From: GH <[EMAIL PROTECTED]>
> Date: 2004/12/16 Thu PM 01:09:48 EST
> To: Marek Kilimajer <[EMAIL PROTECTED]>
> CC: php-general <[EMAIL PROTECTED]>
> Subject: Re: [PHP] Parse Error... how to fix?
> 
> However, I can not get any results into the <title> tags.... all three
> options are not displaying....
> 
> 
> On Thu, 16 Dec 2004 13:03:57 -0500, GH <[EMAIL PROTECTED]> wrote:
> > Ok... thank you.
> > 
> > 
> > On Thu, 16 Dec 2004 19:02:37 +0100, Marek Kilimajer <[EMAIL PROTECTED]> 
> > wrote:
> > > GH wrote:
> > > > Hi All...
> > > > Got a problem...  here is the error: Parse error: parse error,
> > > > expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in
> > > > /var/www/html/ahrc_computerclub/ahrc_computerclub.php on line 42...  I
> > > > am not sure on how to fix it...
> > > >
> > > > line 42 is:     "<TITLE> $language['program_name'] </TITLE>\n" .
> > > >
> > >
> > > either one:
> > >
> > > 1. "<TITLE> $language[program_name] </TITLE>\n" .
> > >
> > > 2. "<TITLE> {$language['program_name']} </TITLE>\n" .
> > >
> > > 3. "<TITLE> ". $language['program_name'] ." </TITLE>\n" .
> > >
> >
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to