Re: Parse Error(Newbie)

From: Date: Tue, 28 May 2002 03:37:58 +0000
Subject: Re: Parse Error(Newbie)
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-99431@lists.php.net to get a copy of this message
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 webmaster@tececo.com 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 > webmaster@tececo.com > www.tececo.com >

« previous php.general (#99431) next »