3 Replies Latest reply on Feb 15, 2010 11:43 PM by Adam Cameron.

    Remove unwanted characters before entering database?

    lovewebdev Level 1

      I usually remove udnesirable special characters that could be entered in a form before submitting to a database with this

       

      <cfset variable = #Replace(variable,"%","", "all")#>

       

      is there a better way I could simply list all of the unwanted values and just replace from that list?