Below is an explanation. exactly what I want insert values of textboxes(user inputs) in mysql database that dynamically generates when checkbox is checked On the submission form I have multiple checkboxs. when users click on checkbox a textbox appears next to it, where user inputs text. I want to insert the value of texbox in array and insert it in database with PHP-MYSQL. for example checkbox1 is index 0=>valueoftextbox1, checkbox2 is index 1=>value of texbox2 How can I achieve this?
First you need to create textbox fields on MySQL then you need to learn PHP If Else you can learn it on W3Schools...