List element in a Form
Posted: Thu Oct 03, 2002 9:24 pm
I am trying to get a List to work so that the user can select several of the options and it saves that as the field... anyway, here is what i got.
How would i make it so that it stores all the options selected in the following format?
Thanks!
Code: Select all
<select name="sizes" size="3" multiple id="sizes">
<option value="XS">XS</option>
<option value="S">S</option>
<option value="M">M</option>
<option value="L">L</option>
<option value="XL">XL</option>
<option value="XXL">XXL</option>
<option value="XXXL">XXXL</option>
</select>Code: Select all
(say i selected : S, M, XXL)
$sizes = S, M, XXL;