What property inside the form can I use to assign this index string ['size']value as a value of the property?
<p>I have this database field that used as the form input value '. $variety['price']. ' I also have a '. $variety['size']. ' database field that carry the name of the product but I don't know what another form input property to use to assign this size database field as a value to the input form property? </p>

<p>I feel like I have run out of properties to carry more values to other values beside price to cart.php.</p>

<p>Thank you the script is as below.</p>

<pre><code>&lt;form action="cart.php" method="post"&gt;
foreach($product['varieties'] as $variety){ 
echo'&lt;input style="width:10px; margin-left:9px; " name="price[]" type="checkbox" value="' . $variety['price']. '"  /&gt;';
}
&lt;/form&gt;
</code></pre>
