Re: Sanitizing mysql inserts of user data
| From: | Dotan Cohen | Date: | Thu, 20 Aug 2009 09:32:47 +0000 |
| Subject: | Re: Sanitizing mysql inserts of user data | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-297004@lists.php.net to get a copy of this message | ||
> Thanks Paul, that was a much better explanation than the one I was
> attempting. I'm guessing the OP was being thrown off by the colons in
> the SELECT statement above. I can see how those could look like
> comments to someone not familiar with PDO and named parameters.
>
It wasn't the colons being mistaken for comments that threw me off, I
realized that they were not comments. But being unfamiliar with PDO
and named parameters I did not understand exactly what was happening.
I will try to google some more information on PDO now. Thanks.
--
Dotan Cohen
http://what-is-what.com
http://gibberish.co.il