In article <003601c20541$fdc31970$0100a8c0@JohnH>, [EMAIL PROTECTED] says... > 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 >
$query = "select * from news WHERE id = " .$_get['id']; -- David Robley Temporary Kiwi! Quod subigo farinam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php