Ok, heres what i am tring to do. Prolly easy for some of you folks..but it is killin me..
I need to have 2 drop down boxes that have diffent colors in them, in a form. When user presses Submit button, i need these to colors to equal one value.
ie, i need to pass this
with the descr part being what the 2 drop down boxes equal. I can get one of the drop down boxes like this..
<form action="phpcart/phpcart.php" method="GET">
<input type="hidden" name="action" value="add">
<input type="hidden" name="id" value="105">
<select size="1" name="descr">
//this is colorone
<option value="Green">Green</option>
<option value="Blue">Blue</option>
<option value="Red">Red</option>
</select>
<input type="hidden" name="price" value="0.00">
<input type="hidden" name="quantity" value="1">
<input type="submit" value="Add to Basket">
</form>
Really drowning in this one........
I need to have 2 drop down boxes that have diffent colors in them, in a form. When user presses Submit button, i need these to colors to equal one value.
ie, i need to pass this
with the descr part being what the 2 drop down boxes equal. I can get one of the drop down boxes like this..
<form action="phpcart/phpcart.php" method="GET">
<input type="hidden" name="action" value="add">
<input type="hidden" name="id" value="105">
<select size="1" name="descr">
//this is colorone
<option value="Green">Green</option>
<option value="Blue">Blue</option>
<option value="Red">Red</option>
</select>
<input type="hidden" name="price" value="0.00">
<input type="hidden" name="quantity" value="1">
<input type="submit" value="Add to Basket">
</form>
Really drowning in this one........