Re: PHP/MySQL noob rides again.. into trouble

From: Date: Fri, 16 Dec 2005 12:34:56 +0000
Subject: Re: PHP/MySQL noob rides again.. into trouble
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-227528@lists.php.net to get a copy of this message
Paul Jinks wrote: > $SQLQuery = "SELECT * FROM project WHERE > projTitle = ".$HTTP_GET_VARS['projTitle'] > or die("SQLQuery 1 failed"); $SQLQuery = "SELECT * FROM project WHERE projTitle = '" . $HTTP_GET_VARS['projTitle'] . "'"; Not sure why you've got the or die() there. Cheers, David -- David Grant http://www.grant.org.uk/

« previous php.general (#227528) next »