Form Validation |
[eluser]$ilovephp[/eluser]
when dealing with forms, i suggest you use Form Validation instead of Validation.
[eluser]invision[/eluser]
Sorry for the late reply guys. Yep, I'm now using Form Validation and it's working a dream. Main things to tackle now are Database Insertion and Mailing Form Contents. How would I best escape data going into the database? Any CI functions worth a look, or just stick with mysql_real_escape_string?
[eluser]CroNiX[/eluser]
Check out the "notes" on the "insert" and "update" pages in the manual for the database. If you use active record: Quote:Note: All values are escaped automatically producing safer queries.http://ellislab.com/codeigniter/user-gui...ecord.html
[eluser]invision[/eluser]
Many thanks for the reply. I will give this a shot. I've got 1 or 2 more queries on validation, but not totally urgent Thanks again for your time. |
Welcome Guest, Not a member yet? Register Sign In |