Question
cfqueryparam inside a cfif
I am in the process of adding <cfquerypram> tags to all
my URL & FORM query variables (to protect against recent SQL
injection attacks) and have come up against a few challenges. If
one of those form/URL variables are a condition within a
<cfif> statement, is it vulnerable to any attacks? Please see
code examples 1 & 2.
Also, how do I handle wrapping the following item in the <cfqueryparam> tag: NumberFormat(Shipping,'99999.99')? Please see code example 3 for my first attempt at it (which throws an error).
Thanks!
Also, how do I handle wrapping the following item in the <cfqueryparam> tag: NumberFormat(Shipping,'99999.99')? Please see code example 3 for my first attempt at it (which throws an error).
Thanks!
