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
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
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
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
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))
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
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
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
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
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
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
11 matches
Mail list logo