title: I get just params of one field from form
body: <p>I have a <code>foreach</code> on some form and when I submit, i get all params of just the last field in my controller.</p>
  
  <p><strong>form:</strong></p>
  
  <pre><code>&lt;form action="&lt;?php echo Mage::getUrl('checkout/cart/addmultiple')?&gt;" method="post" id="products_addtocart_form" enctype="multipart/form-data"&gt;
      &lt;?php foreach ($_productCollection as $prod) : ?&gt;
          &lt;div class="border-new-cart-button"&gt;
               &lt;input type="hidden" name="productId" value="&lt;?php echo $productId ?&gt;" /&gt;
               &lt;input type="hidden" name="productName" value="&lt;?php echo $prod-&gt;getName() ?&gt;" /&gt;
               &lt;input type="text" class="input-qty-product number-control" title="Qty" value="&lt;?php echo /*$this-&gt;getProductDefaultQty() * */ 0 ?&gt;" name="qty" id="qty-&lt;?php echo $productId ?&gt;"/&gt;
          &lt;/div&gt;
      &lt;?php endforeach; ?&gt;
      &lt;button class="btn add-to-cart" onclick="this.form.submit()"&gt;&lt;span&gt;&lt;?php echo $this-&gt;__('Validate') ?&gt;&lt;/span&gt;&lt;/button&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>controller: </p>
  
  <pre><code>public function addmultipleAction(){
      $params= array($this-&gt;getRequest()-&gt;getParams());
      var_dump($params);
      // Result:
        Array
             (
               [0] =&gt; Array
                           (
                             [productId] =&gt; 106
                             [productName] =&gt; shirt
                             [qty] =&gt; 6
                             [productTagName] =&gt;
                           )
  
              )
  }
  </code></pre>
  
  <p><strong>EDIT:</strong></p>
  
  <pre><code>Now i get them like this:
  
  [productId] =&gt; Array
                      (
                          [0] =&gt; 106
                          [1] =&gt; 107
                          [2] =&gt; 108
                          [3] =&gt; 109
                      )
  
  [qty] =&gt; Array
                  (
                      [0] =&gt; 4
                      [1] =&gt; 3
                      [2] =&gt; 2
                      [3] =&gt; 1
                  )
  
  
  // I want to group the `id` and `qty` per product, something like this:
   array(
        [0] (
             [id] =&gt; 106
             [qty] =&gt; 4
            )
  
        [1] (
             [id] =&gt; 107
             [qty] =&gt; 3
            )
         ...
   )
  </code></pre>