RE: [PHP] Parse Error... how to fix?

2004-12-16 Thread Ford, Mike
To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm On 16 December 2004 17:39, 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

Re: [PHP] Parse Error... how to fix?

2004-12-16 Thread GH
I will try this when i get back to my other computer where development takes place the script format was originally started by an IDE that I am starting to add my code to ... so I will look at. On Thu, 16 Dec 2004 18:19:43 -, Ford, Mike [EMAIL PROTECTED] wrote: To view the terms under

Re: [PHP] Parse Error... how to fix?

2004-12-16 Thread Brian Dunning
line 42 is: TITLE $language['program_name'] /TITLE\n . Try: 'TITLE'.$language['program_name'].'/TITLE' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Parse Error... how to fix?

2004-12-16 Thread Richard Lynch
GH wrote: 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 .

Re: [PHP] Parse Error... how to fix?

2004-12-16 Thread Sam
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']

Re: [PHP] Parse Error... how to fix?

2004-12-16 Thread Matthew Sims
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

Re: Re: [PHP] Parse Error... how to fix?

2004-12-16 Thread hitek
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

Re: [PHP] Parse Error... how to fix?

2004-12-16 Thread Marek Kilimajer
GH wrote: However, I can not get any results into the title tags all three options are not displaying $language is in global scope, you need: function printHeader(){ global $language; More: http://sk2.php.net/manual/en/language.variables.scope.php On Thu, 16 Dec 2004 13:03:57 -0500, GH

RE: [PHP] Parse Error... how to fix?

2004-12-16 Thread Chris W. Parker
GH mailto:[EMAIL PROTECTED] on Thursday, December 16, 2004 10:10 AM said: However, I can not get any results into the title tags all three options are not displaying try: ?php echo pre; print_r($language['program_name']); echo /pre; ? If you don't see anything then

RE: [PHP] Parse Error... how to fix?

2004-12-16 Thread Chris W. Parker
Richard Lynch mailto:[EMAIL PROTECTED] on Thursday, December 16, 2004 10:46 AM said: TITLE $language['program_name'] /TITLE\n . #1. Get rid of the ''s around program_name. Those won't work inside of s. echo title{$language['program_name']}/title\n;

Re: [PHP] Parse Error... how to fix?

2004-12-16 Thread GH
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

Re: [PHP] Parse Error... how to fix?

2004-12-16 Thread GH
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