Validation prep_for_form |
[eluser]Aaron L.[/eluser]
Hello, I am trying to submit my form to a function which validates my form before inserting it into the DB. In this function, I am attempting to use prep_for_form (documentation). The problem is, when I fill-in the form with something like "I'm", I still get an SQL error because the ' is there. Here is my code: Code: $this->load->library('validation'); Do you know what's going on here? I'm stumped... Aaron |
Messages In This Thread |
Validation prep_for_form - by El Forum - 07-02-2007, 06:57 PM
Validation prep_for_form - by El Forum - 07-02-2007, 07:24 PM
Validation prep_for_form - by El Forum - 07-02-2007, 08:04 PM
Validation prep_for_form - by El Forum - 07-02-2007, 08:05 PM
Validation prep_for_form - by El Forum - 07-02-2007, 08:47 PM
Validation prep_for_form - by El Forum - 07-02-2007, 08:48 PM
|