Posted by David Grant on 12/16/05 14:34
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/
[Back to original message]
|