can you show us the lines above that line? say the previous 2 lines?.. also
depending on what server your on you might want to try

$query = "SELECT * FROM news WHERE id = "$_get['id']"";

but that line is ok ... with parse errors it's often, well i've found this
any way, that it's the line above the line the message says it is..
  -----Original Message-----
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
  Sent: Monday, 27 May 2002 3:47 PM
  To: [EMAIL PROTECTED]
  Subject: [PHP] Parse Error(Newbie)


  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 PROTECTED]
  www.tececo.com

Reply via email to