getting value from textbox
<p>I have following code:</p>

<p></p>

<pre><code>     &lt;input type="hidden" name="qz_id" value="&lt;?=$quizid; ?&gt;" /&gt;
     &lt;input type="hidden" name="s_id" value="&lt;?=$s_id; ?&gt;" /&gt;

 &lt;? if($num!=$i) {?&gt;&lt;input type="submit" value="Next" /&gt;&lt;? } ?&gt;
 &lt;? if($num==$i) {?&gt;&lt;input type="submit" name="submit" value="Finish" /&gt;&lt;? } ?&gt; 
</code></pre>

<p>This is the part of whole page of code. What i am trying to do is insert these values in database. Can you tell me how can i get value of textbox "answer" and store it in a php variable? I want to insert this value into database once user press next or finish?</p>

<p>Here is the form:</p>

<pre><code>&lt;form id="formresp" method="post" action="respond.php?quiz_id=&lt;?=$quizid ?&gt;" name="register" onsubmit='return ValidateForm(this)'&gt;
</code></pre>

<p>Also i triend $_POST['answer'] it is not working</p>
