i want to know how can we select more than one option from a select box like given below:
I was late here but will try post my answer. may not be the best.
Add multiple
attribute to the select and change name="color"
to an array like name="color[]"
and php could do something like this
foreach ($_POST['color'] as $selectedColor)
echo $selectedColor."\n";
//and this echos a comma separated string
$colorString=implode(",", $_POST['color']);
echo $colorString;