Another thing you may want to try is the following line:

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

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