I am working on php from builder, where user can add text-box, text-area, chekbox, radio-button etc field using jQuery.
Now i am ready with html code of form. Next step is to save each attributes(i.e. name, optionstags, label, title, tooltip, class etc) in mysql database.
How can i store each values in database using jQuery or PHP ?
I have checked jquery serialized function but that will just return values of input field.
Need your help or suggestions guys.
@ardav: thanks for db setup.
But i am looking for some different point.
for example take a look on this link : http://www.phpform.org/formbuilder/index.php
Here i can create dynamic form by adding fields from top.
Now i want to save all created form fields, labels, values to database.
How can i post all values to php page.bcz form will only post input field name and values.
But i need labels, attributes, options of dropdown ..etc.
Okay.. i end up with this logic.
There is one hidden field named form_html. When admin click on save button using jquery i am getting html inside form tag and setting it in hidden variable.
After submitting in php side i have used one html parser class, which will filter all attributes and saving it into database.
root = tkinter.Tk()
buttons=[i for i in range(10)]
#If specific button is pressed, output "YES"
for num in buttons: