Jump to content

dynamic form validation and sql


mahalleday

Recommended Posts

I am trying to create a PHP application that will allow users to create custom HTML forms.  I have finished the code that adds the  from fields to a database and the generate the from based on what is the database tables.  What I need to do know if validate the inputs and store the form data in a mysql database table.  Easy enough o do with a static form but because there can be any number and combination of inputs in these form I am at a lose as to how to write both a dynamic validation script/class as well as a dynamic mysql query statement.

 

If any one has done this before or could point me to a tutorial to show me how to this that would be very much appreciated.

 

I will post some code once I have made my first attempt at it right now I have no idea where to even begin with it.

Link to comment
https://forums.phpfreaks.com/topic/201301-dynamic-form-validation-and-sql/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.