I had followed the code on adding multiple fields on click event using jquery.
<div id="address">
<div id="question" style="margin-bottom:4px;" class="input">
Question <br> <input name="qnsLabel" type="text"id="question">
</div>
<div id="answer" style="margin-bottom:4px;" class="input">
Answer <br>
<input name="ansLabel" type="text" id="answer">
</div> <br>
</div>
The above is the code for the html part. As the jquery work on adding the whole div and giving a class name of "clonedAddress" when the add button is clicked. So my question is, how do i store the individual fields (question and answer) into mysql?
<form>and post your question and answer.. :)