Posting an array of checkboxes is not working with Zend-Server but works with LAMP: maybe a problem of settings?
<p>I'm trying to pass through POST an array of checkboxes but this time it's not working (i've done the same things other times and everything was ok)</p>

<p>In a foreach loop i have this code to create the checkboxes:</p>

<pre><code>$out .= "&lt;td&gt;&lt;input type='checkbox' value='$ordiniRiga-&gt;idRiga' name=\"etichetteArray[]\" id='mioId' &gt;&lt;/td&gt;";
</code></pre>

<p>But if i var_dump the $_POST (after checking all the checkboxes) i find that the array is NULL!(all the values ar numbers)</p>

<pre><code>array(10) {
  ["idRiga1"]=&gt;
  string(2) "30"
  ["idRiga2"]=&gt;
  string(2) "31"
  ["etichetteArray"]=&gt;
  NULL
  ["idRiga3"]=&gt;
  string(2) "32"
  ["idRiga4"]=&gt;
  string(2) "33"
  ["idRiga5"]=&gt;
  string(2) "34"
  ["numRighe"]=&gt;
  string(1) "5"
  ["idOfferta"]=&gt;
  string(2) "32"
  ["idOrdine"]=&gt;
  string(2) "12"
  ["submitEtichette"]=&gt;
  string(16) "Stampa etichette"
}
</code></pre>

<p>Any idea of why this is happening?I'm using PHP 5.3 and Zend Server.</p>

<p>EDIT - The form it's really complex, i've created this fiddle <a href="http://jsfiddle.net/tVwLS/1/" rel="nofollow">http://jsfiddle.net/tVwLS/1/</a> so that you can see it.</p>

<p>EDIT - i0ve tried out the code on a LAMP and it works ok. Does anyone know if there is some kind of configuration that allows posting arrays?</p>
