how can I recieve this form in cart.php
<pre><code>$index = 1;
foreach($product['varieties'] as $variety){     
echo '&lt;input style="width:10px; margin-left:9px; " name="price_' . $index . '" type="checkbox" value="' . $variety['price']. '"  /&gt;';   
echo '&lt;input name="size_' . $index . '" type="text" value="' . $variety['size']. '"  /&gt;';    $index++; 
} 
</code></pre>

<p>if you can see This will have an index=1 and it will be incrementing where each iteration will be price_1, price_2, etc.and size_1,size_2. Now with a dynamic name="" input how can I receive in the cart.php when each name will be different?</p>

<p>it would be something like <code>$price= "'..',$_POST['price_']"</code>? well I have not idea how can I receive this name index from the cart.php url.</p>

<p>Thnank you.</p>
