inserting multiple record at once
<p>Hello I have a form like below:</p>

<pre><code>&lt;form method="post" action=""&gt;
&lt;fieldset&gt;&lt;legend&gt;Products List&lt;/legend&gt;
    &lt;ul&gt;
    &lt;li&gt;&lt;input type='hidden' name='product[]' value='1'/&gt;Product 1&lt;/li&gt;
    &lt;li&gt;&lt;input type='hidden' name='product[]' value='2'/&gt;Product 2&lt;/li&gt;
    &lt;li&gt;&lt;input type='hidden' name='product[]' value='3'/&gt;Product 3&lt;/li&gt;
    &lt;li&gt;&lt;input type='hidden' name='product[]' value='4'/&gt;Product 4&lt;/li&gt;
    &lt;li&gt;&lt;input type='hidden' name='product[]' value='5'/&gt;Product 5&lt;/li&gt;
    &lt;/ul&gt;
    &lt;input type='submit' name='submit' value='Save'/&gt;
&lt;/fieldset&gt;
&lt;/form&gt;
</code></pre>

<p>I want to know how to insert all the product id in the hidden field value.</p>

<p>Thanks in advance</p>
