Getting multiple check box results in POST with php
<p>Hi i have a form that send across a single check box, which is working perfect, however when i add a second tick box, the second one doesn't seem to pass any information.  The first one works but the second one doesn't.</p>

<p>Below is my code, any suggestions would be appreciated, thanks.</p>

<p>Form Side</p>

<pre><code>"&lt;input type='checkbox' name='ip[]' value='$row[ip]'/&gt;";
"&lt;input type='checkbox' name='in[]' value='$row[ip]'/&gt;";
</code></pre>

<p>add Side</p>

<pre><code>$ip_array = isset($_POST['ip']) &amp;&amp; is_array($_POST['ip']) ? $_POST['ip'] : array();
foreach( $ip_array as $ip ) {

$in_array = isset($_POST['in']) &amp;&amp; is_array($_POST['in']) ? $_POST['in'] : array();
foreach( $in_array as $in ) {
</code></pre>

<p>The top part of the code seems tocatch the checkbox fine but the bottom one doesn't.</p>
