title: How to insert multiple textbox values in databse those are checked with checkbox with php?
body: <p>Below is an explanation of exactly what I want</p>
  
  <p>On the submission form I have multiple checkboxs. when users click on checkbox a textbox appears next to it, where user input 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=>valueoftextbox, checkbox2 is index 1=>value of texbox2</p>
  
  <p>How can I achieve this?</p>