I'm building a form validation script and I was wondering if it's not possible to enter all the validation rules in a table with a few fields
- formfieldname
- validation
- commentiffalse
in the validation field I put any php code I like, even selects on tables for validating if a name is already existing.
I can put that code in a variable but how do I execute the value in a variable ????
- formfieldname
- validation
- commentiffalse
in the validation field I put any php code I like, even selects on tables for validating if a name is already existing.
I can put that code in a variable but how do I execute the value in a variable ????