Re: Parse Error... how to fix?

From: Date: Thu, 16 Dec 2004 18:09:47 +0000
Subject: Re: Parse Error... how to fix?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-204510@lists.php.net to get a copy of this message
> 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" > . Try: echo "<TITLE>".$language['program_name']."</TITLE>\n"; You need to concatenate your array. -- --Matthew Sims --<http://killermookie.org>

« previous php.general (#204510) next »