try this:

$query = "select * from news WHERE id = '$_get['id']'";

the double quote right before the $ is ending the string, from that point 
on everything is an error.

Matt

On Mon, 27 May 2002 [EMAIL PROTECTED] wrote:

> 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
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to