Hi,
I have a form with a select element with multiple="true" . When using the
GET method (I suppose the same happens with the POST method) I can seen
that the form sends channels=CH1&ch annels=CH2 when CH1 and CH2 have been
choosen. $_GET["channels"] gives me "CH2". Is there any way to get all
the choosen channels elements? I would be very appreciative for any
help. Thank you in anticipation.
Regards
Rolf Wester
----------------
part of the form element:
echo "<select size=5 name=\"channels \" multiple=\"true \">";
echo "<option> CH1 </option>";
echo "<option> CH2 </option>";
echo "<option> CH3 </option>";
echo "<option> CH4 </option>";
echo "<option> CH5 </option>";
echo "</select>";
I have a form with a select element with multiple="true" . When using the
GET method (I suppose the same happens with the POST method) I can seen
that the form sends channels=CH1&ch annels=CH2 when CH1 and CH2 have been
choosen. $_GET["channels"] gives me "CH2". Is there any way to get all
the choosen channels elements? I would be very appreciative for any
help. Thank you in anticipation.
Regards
Rolf Wester
----------------
part of the form element:
echo "<select size=5 name=\"channels \" multiple=\"true \">";
echo "<option> CH1 </option>";
echo "<option> CH2 </option>";
echo "<option> CH3 </option>";
echo "<option> CH4 </option>";
echo "<option> CH5 </option>";
echo "</select>";
Comment