$query = "select * from news WHERE id = "$_get['id']""; you've got quotes within quotes - either change the inner quotes to single quotes, or escape them $query = "select * from news WHERE id = '$_get[id]'"; or $query = "select * from news WHERE id = \"$_get['id']\""; -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, May 27, 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] <mailto:[EMAIL PROTECTED]> www.tececo.com <http://www.tececo.com>