Via this question I've been told to start using cfqueryparam for my data, to prevent SQL injection attacks.
How do I use it for my forms? Right now I've been going over Ben Forta's book, Vol 1 and been passing data to my form, then to a form processor that calls a CFC. The CFC takes them in as a cfargument
then injects that into the database with any type="x" validation.
Io use the cfqueryparam
, I use that on the query itself and not even declare cfargument
?