Yeah, lemme try to be more specific here.
Basically, each "add to cart" button is a little HTML form. It has fields for item description, price, shipping, etc. Plus, you're allowed two "options" per item, like size and color. When you click the add button, these options are passed as "opt1" and "opt2". If I try to pass an "opt3", it's ignored.
Well, I'm selling biking component groups, and there are several items in each group that have size options. So, since I can't have more than two options, I've decided to try to use a PHP variable to "collect" the options from drop-down lists, like this:
<select name=cranks>
<option value="170">170mm</option>
<option value="175">175mm</option>
<option value="180">180mm</option>
</select>
And I want to be able to pass whatever size the user selected to a $var. Once I've collected all the choices from the dropdown lists, my idea was to append them all to a long string, then do this:
<input type="hidden" name="opt1" value="<?php echo $varlist ?>">
I hope that makes it more clear.