beginner question about php. how to get back multiple values after submitting form
<p>I am new to php. </p>

<p>I want to have a form such as this:</p>

<pre><code> Name   &lt;TextField&gt;   Corresponding pic:  &lt;dropdown&gt; hiddenID (not shown to user)
 Name   &lt;TextField&gt;   Corresponding pic:  &lt;dropdown&gt; hiddenID (not shown to user)
 Name   &lt;TextField&gt;   Corresponding pic:  &lt;dropdown&gt; hiddenID (not shown to user)
 Name   &lt;TextField&gt;   Corresponding pic:  &lt;dropdown&gt; hiddenID (not shown to user)
 Name   &lt;TextField&gt;   Corresponding pic:  &lt;dropdown&gt; hiddenID (not shown to user)

 Update Values (button)
</code></pre>

<p>After the button is clicked (form submitted) how will I get all those values.  I want to update a database table for each of those values. query would be like</p>

<pre><code>update user_tables name=&lt;newnameSubmitted&gt;, pic=&lt;valueFromDropDown&gt; 
where id=&lt;hiddenIdGottenBack&gt;
</code></pre>

<p>In this example I have 5 values...how will I be able to run the above update statement 5 times with corresponding values. </p>

<p>Please clear my confusion or guide me to a tutorial that will help me out a little. </p>
