Re: PHP/MySQL noob rides again.. into trouble
| From: | Paul Jinks | Date: | Fri, 16 Dec 2005 13:21:29 +0000 |
| Subject: | Re: PHP/MySQL noob rides again.. into trouble | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-227531@lists.php.net to get a copy of this message | ||
David Grant wrote:
$SQLQuery = "SELECT * FROM project WHERE projTitle = '" . $HTTP_GET_VARS['projTitle'] . "'";Yep, that fixed it. Thanks. I had a feeling there was a mix up with the "s and 's. What's with the . s?
Not sure why you've got the or die() there.I had the idea that you could put an or die() after any command and it would tell you that it had screwed up at that point. Bad idea? Many thanks Paul