Welcome Guest, Not a member yet? Register   Sign In
Form Validation

when dealing with forms, i suggest you use Form Validation instead of Validation.

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?

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.

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 Smile

Thanks again for your time.

Theme © iAndrew 2016 - Forum software by © MyBB