Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to execute code in a variable??? 1

Status
Not open for further replies.

hos2

Programmer
May 6, 2002
418
NL
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 ????

 
ach thanks, answers can realy be simple sometimes :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top