Hi,
I have the following HTML code right now.
Code:
-------------------------------------------------------------------------------------------------------------------------
<td width="20%"><SE LECT NAME="cfg_input _global_report_ types" MULTIPLE >
<OPTION VALUE="BU" >Option1
<OPTION VALUE="BP" >Option2
<OPTION VALUE="BC" >Option3
<OPTION VALUE="BL" >Option4
<OPTION VALUE="BCC">Opt ion5
</SELECT></td>
-------------------------------------------------------------------------------------------------------------------------
The form is submitted using POST method
I know how to use the $_POST php function to get the
"cfg_input_glob al_report_types " variable
$_POST["cfg_input_glob al_report_types "]
But I don't know how the selected variables are formatted in the
$_POST["cfg_input_glob al_report_types "] variable. If anybody could show
me how the selected values are formated in the above variable it would
be great.
Or if this method doesn't work at all or if there is a more easy way,
how can I get the selected values in my multiple select combo box.
Thanx in advance.
I have the following HTML code right now.
Code:
-------------------------------------------------------------------------------------------------------------------------
<td width="20%"><SE LECT NAME="cfg_input _global_report_ types" MULTIPLE >
<OPTION VALUE="BU" >Option1
<OPTION VALUE="BP" >Option2
<OPTION VALUE="BC" >Option3
<OPTION VALUE="BL" >Option4
<OPTION VALUE="BCC">Opt ion5
</SELECT></td>
-------------------------------------------------------------------------------------------------------------------------
The form is submitted using POST method
I know how to use the $_POST php function to get the
"cfg_input_glob al_report_types " variable
$_POST["cfg_input_glob al_report_types "]
But I don't know how the selected variables are formatted in the
$_POST["cfg_input_glob al_report_types "] variable. If anybody could show
me how the selected values are formated in the above variable it would
be great.
Or if this method doesn't work at all or if there is a more easy way,
how can I get the selected values in my multiple select combo box.
Thanx in advance.
Comment