two values in one field
<p>I've this simple form, when the price is set to <code>120</code> $:</p>

<pre><code>  &lt;input type="checkbox" name="addon[book]" value="120" /&gt; book
  &lt;input type="checkbox" name="addon[plane]" value="420" /&gt; Plane
</code></pre>

<p>Could I send two values (USD &amp; €) with thr form?</p>

<p><strong>EDIT:</strong> <br /></p>

<p>I added <code>name="addon[book]"</code> because I'll display the <code>name</code> too</p>

<p><strong>EDIT 2:</strong><br /></p>

<p>PHP:</p>

<pre>
foreach($addon as $name => $value) {
    echo 'your addons: '.$name;
}
$total = array_sum(array_map("intval", $_POST["addon"]));
echo 'the total '.$total.' $'; 
</pre>
