Re:PHP: The Right Way
by xd on Saturday July 07, 2012 @06:44PM
(#4212953)
Parametized queries are just another way of filtering input ..
[ Parent
| on HN ]
No they're not. They're a method for ensuring that what is meant to go into some field in some database actually ends up there and does not start doing things it should not be doing.
Re:PHP: The Right Way
by kellishaver on Sunday July 08, 2012 @02:55AM
(#4213936)
Yes, but on the site, they make a clear distinction between parametrized queries with PDO and other types of input filtering. I misunderstood and thought you were referring specifically to the latter.