Re: Parse Error... how to fix?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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>

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux