[PHP-DB] Re: Parse error

2003-03-21 Thread Michiel van Heusden
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 err

RE: [PHP-DB] Re: Parse Error

2003-02-28 Thread Matthew Moldvan
http://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"

[PHP-DB] Re: Parse Error

2003-02-27 Thread Alejandro Trujillo J.
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 y

[PHP-DB] re: Parse Error

2002-02-22 Thread Lawrence
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 whe

[PHP-DB] Re: Parse error

2002-02-21 Thread Jennifer Downey
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 a

Re: [PHP-DB] Re: Parse error (a bit OT)

2002-02-21 Thread Lerp
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

Re: [PHP-DB] Re: Parse error (a bit OT)

2002-02-21 Thread Markus Lervik
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 m

[PHP-DB] Re: Parse error (a bit OT)

2002-02-21 Thread Lerp
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" <

Re: [PHP-DB] Re: parse error

2001-12-13 Thread Richard S. Crawford
Rob, Can you show us a few lines before and after the script? The only thing that I can figure is that line 360 should end with a single quote and a semicolon (';), but it would be easier if we could see the code in context. Richard At 02:42 PM 12/13/2001, you wrote: > > > I've written a sm

Re: [PHP-DB] Re: parse error

2001-12-13 Thread Matthew Crouch
lto:[EMAIL PROTECTED]] > 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&#x

RE: [PHP-DB] Re: parse error

2001-12-13 Thread Nally, Tyler G.
// > -Original 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

RE: [PHP-DB] Re: parse error

2001-12-13 Thread Rob Day
-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

[PHP-DB] Re: parse error

2001-12-13 Thread Matthew Crouch
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