[PHP] parse error after ?

2002-04-29 Thread Ironfroggy
I have a PHP script which gets a parse error on the last line (a blank line after the last ?). I really have no idea what could cause this. I checked for all my closing brackets. = Question __ Do You Yahoo!? Yahoo! Health - your guide to

Re: [PHP] parse error after ?

2002-04-29 Thread Justin French
That's the only likely solution -- missing }'s. Unless you're working on a mac, in which case the unix machine might be reading your entire file as one line, hence not giving you an acurate line for the error. I do my editing in BBEdit, which the option of saving all files in unix or windows or

Re: [PHP] parse error after ?

2002-04-29 Thread Jason Wong
On Tuesday 30 April 2002 12:40, Ironfroggy wrote: I have a PHP script which gets a parse error on the last line (a blank line after the last ?). I really have no idea what could cause this. I checked for all my closing brackets. Check for missing braces } semicolons ;, they're the usual

RE: [PHP] parse error after ?

2002-04-29 Thread John Holmes
Check again. You're missing a closing bracket or an ending quote... something along those lines. ---John Holmes... -Original Message- From: Ironfroggy [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 9:41 PM To: [EMAIL PROTECTED] Subject: [PHP] parse error after ? I have

[PHP] parse error AFTER end of included file??

2001-08-28 Thread Jaxon
Hi, Can anyone tell me why I have a parse error here? I'm including this file, which is 16 lines, but the error being thrown by the including page reports a parse error in this file on line 17 ???: ?php if (!isset($page_type)) { $page_type = foo; } if (!isset($page_id))

RE: [PHP] parse error AFTER end of included file??

2001-08-28 Thread Johnson, Kirk
You need to close off this bit of code with a brace '}': if (!isset($page_id)) { Kirk -Original Message- From: Jaxon [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 28, 2001 9:34 AM To: [EMAIL PROTECTED] Subject: [PHP] parse error AFTER end of included file?? Hi

RE: [PHP] parse error AFTER end of included file??

2001-08-28 Thread Jaxon
doh! thanks for spotting that Kirk! cheers, j -Original Message- From: Johnson, Kirk [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 28, 2001 11:49 AM To: [EMAIL PROTECTED] Subject: RE: [PHP] parse error AFTER end of included file?? You need to close off this bit of code

[PHP] Parse error after end of file

2001-04-09 Thread DRN
Hi, I am trying to include a header to my document, I my problem is I keep getting a parse error on the line after the header ends. I cannot see what is causing this, can someone see what I have done wrong, the code is below. Cheers for your help, Donald html head titleAccessible Computers

Re: [PHP] Parse error after end of file

2001-04-09 Thread Alexander Wagner
titleAccessible Computers ?="$page_title"?/title DEFANGED_meta name=keywords content="stuff" DEFANGED_meta name=description content='? if ($description) { echo "$description"; } else { echo "Accessible Computers"; ?' Looks like you're missing a } here. regards Wagner

Re: [PHP] Parse error after end of file

2001-04-09 Thread Kurth Bemis
At 03:59 PM 4/9/2001, DRN wrote: you need to make sure that ALL your curly brackets are closed and that all lines that require semi-colons have them ~kurth Hi, I am trying to include a header to my document, I my problem is I keep getting a parse error on the line after the header ends. I

Re: [PHP] Parse error after end of file

2001-04-09 Thread DRN
Kurth Bemis [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... | At 03:59 PM 4/9/2001, DRN wrote: | you need to make sure that ALL your curly brackets are closed and that all | lines that require semi-colons have them | | ~kurth D'oh, I don't know how I didn't