title: checkbox array not working
body: <pre><code>&lt;input type='checkbox' id='checkbox-" . $counter ."' class='mdl-checkbox__input' name='product[]' value='$counter'&gt;
  </code></pre>
  
  <p>for some reason, when I run the form with this name for this input, it won't run the PHP script, it won't even run the beginning of the script.</p>
  
  <p>Is there some reason this isn't working? am I doing it wrong? I thought this is the actual way this would work.</p>
  
  <p>[Edit]
  this is the actual full script in the form:</p>
  
  <pre><code>foreach($producten as $row)
  {
      echo("
      &lt;label class='mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect' for='checkbox-" . $counter ."'&gt;
      &lt;input type='checkbox' id='checkbox-" . $counter ."' class='mdl-checkbox__input' name='product[]' value='$counter'&gt;
      &lt;span class='mdl-checkbox__label'&gt;" . $row['productcode'] . ' ' . $row['categorie'] . ' ' . $row['merk'] . ' ' . $row['type'] . ' ' . $row['cpu'] . ' ' . $row['ram'] . ' ' . $row['os'] . ' ' . $row['hdd'] . ' ' ."&lt;/span&gt;
      &lt;/label&gt;
      ");
      $counter++;
  }
  </code></pre>