it might be a previous include() or require() or other command inserting
external PHP-code
is causing your problem..
but posting some code would help indeed..
grace
michiel
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I am having a problem with a parse error.
://www.trilogyintl.com/ecommerce/
---
-Original Message-
From: Alejandro Trujillo J. [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 26, 2003 10:15 PM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] Re: Parse Error
if ($packages == 1
if ($packages == 1)
{
if ($airporttransfer == car) {$airporttransfer2 = 12.00);}
if ($airporttransfer == bus) {$airporttransfer2 = 10.00);}
if ($airporttransfer == none){$airporttransfer2 = 0.00);}
}
try to learn to use the TABS and the BRACES coz is good for you and for
I'm sure by now this has already been answered, but just in case it hasn't been,
you've got an extra
')' at the end of this line:
r_num\);
I hate to post this again but I have looked in a couple of php and mysql
books but cannot seem to figure this one out. I am getting a parse error
when
Hi there :) I think you just might be missing two curly braces. Like below.
if ($prev_week) {
while(date(W,mktime(0,0,0,$m,$d,$Y))==$week) {
...blababla...
}
}
if ($next_week) {
while(date(W,mktime(0,0,0,$m,$d,$Y))==$week) {
...blablabla...
}
}
Hope this helps, Joe :)
Markus Lervik [EMAIL
On Thu, 2002-02-21 at 14:36, Lerp wrote:
Hi there :) I think you just might be missing two curly braces. Like below.
if ($next_week) {
while(date(W,mktime(0,0,0,$m,$d,$Y))==$week) {
...blablabla...
}
}
Well, I intentionally left a few lines and curly brackets and stuff off
the mail, so
Glad you figured it out :)
Cheers, Joe :)
Markus Lervik [EMAIL PROTECTED] wrote in message
1014295168.26036.27.camel@hal9000">news:1014295168.26036.27.camel@hal9000...
On Thu, 2002-02-21 at 14:36, Lerp wrote:
Hi there :) I think you just might be missing two curly braces. Like
below.
if
You know this was a real bad stupid on my part. I saved the file in the
wrong place. After moving the file to my web folder and not saving to the
web folder I was using
the original parse error file in the temp dir. I re-saved in the web folder
and what do ya know it worked.
Sorry for wasting
you haven't shut your script with the ? before starting your HTML, near as I
can figure it
Rob Day wrote:
I've written a small script that processes a form from a webpage and sends
the submitted data as an HTML e-mail that has the form all filled out
already. I've gotten smaller versions of
-DB] Re: parse error
you haven't shut your script with the ? before starting your HTML, near as
I
can figure it
Rob Day wrote:
I've written a small script that processes a form from a webpage and sends
the submitted data as an HTML e-mail that has the form all filled out
already. I've gotten
Message-
From: Rob Day [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 13, 2001 5:37 PM
To: '[EMAIL PROTECTED]'
Subject: RE: [PHP-DB] Re: parse error
Sorry for not giving enough info. This is right in the middle
of the script.
I do have the opening and closing tags. It must ne
]]
Sent: Thursday, December 13, 2001 4:04 PM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] Re: parse error
you haven't shut your script with the ? before starting your HTML, near as
I
can figure it
Rob Day wrote:
I've written a small script that processes a form from a webpage and sends
12 matches
Mail list logo