hello,
iam using php and i have a drop down menu for multiple select .the user can select more than 1 options
the code for this is as follows;
echo "
<tr>
<td><strong>Versions Affected:</strong></td>
<td>
<SELECT multiple size=\"3\" name=\"component[]\">
<OPTION value=\"\">--Select Here--</OPTION>
<OPTION value=\"1.3.4\">1.3.4</OPTION>
<OPTION value=\"1.3.5\">1.3.5</OPTION>
<OPTION value=\"s1.3.5\">s1.3.5</OPTION>
</SELECT>
</td>
</tr>";
In the recieving page i have like this,
$count=count($component);
for ($i=0; $i<$count; $i++) {
$versions="$versions,$component[$i]";
// echo $component[$i];
}
My problem is this works fine in linux but only in windows the user is unable to select more tahn one options why?
how do i concatenate $versions with $component[$i] with a comma in between???????
Any help appreciated
Regards
Roopa