I have 4 check boxes (r1, r2, r3, r4)
$r1 = A
$r2 = B
$r3 = C
$r4 = NY
I then have a hidden field $region (to collect values to be entered into database)
Code: Select all
<input name="region" type="hidden" value="<?php echo ("$r1 $r2 $r3 $r4");?>">THAT WORKS FINE. The tricky part.
I have a second set of values that needs to be calculated at the same time.
$r1 also = 167
$r2 also = 61
$r3 also = 24
$r4 also = 12
I then have another hidden field called $quanity
Code: Select all
$quanity = ("$r1 + $r2 + $r3 + $r4");Lots of info, confusing?
Masters go to Work!
Thanks for any help at all!