Re: [PHP] Re: Parse Error(newbie)

2002-05-29 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Kevin Lowe declared > Looks OK to me, could it be that youa re missing a semi colon ; or a brace } from a >previous line, in this case PHP often reports the parse error as being the line where >the next ; is? Yep, that would be me g

[PHP] Re: Parse Error(newbie)

2002-05-29 Thread Kevin Lowe
Hi JJ, Looks OK to me, could it be that youa re missing a semi colon ; or a brace } from a previous line, in this case PHP often reports the parse error as being the line where the next ; is? EG $var1 = "x" $var2 = "y"; This will show an error on the second line. KEvin

[PHP] Re: Parse Error(Newbie)

2002-05-26 Thread David Robley
In article <003601c20541$fdc31970$0100a8c0@JohnH>, [EMAIL PROTECTED] says... > I know it is probably something obvious but the following gives me a parse error and >as a newbie I am having trouble locating it. > > $query = "select * from news WHERE id = "$_get['id']""; > > JJ Harrison > [EMAIL