Title: Clear Day
Hi
 
we've got a dropdown list from a select statement, after you choose an option from there it creates another dropdown list also from a select statement.  We want to know how to be able to select multiple values from the 2nd one and send them through to the next page for display.
 
Below are the two dropdown lists we have.
 

<select name="comboMAPType" size="1">
                  <? while ($GetMAPTypeRow = ibase_fetch_row($GetMAPType_Result))
    {//begin
     if ($GetMAPTypeRow[0] == $schemenumber)
       {//begin
         $SetInitial = "selected";   
       }//end
     else
       {//begin
         $SetInitial = "";  
       }//end
?>
                  <option value="<? echo $GetMAPTypeRow[0]?>" <?echo $SetInitial?> >
                  <? echo $GetMAPTypeRow[1]?>
                  </option>
                  <?}?>
                </select>
                <input type="submit" action="default.asp?step=3-rate" value="Continue!" method="post" name="btnContinueQuote">
              </h4>
            </td>
          </tr>
          <tr valign="middle">
            <td width="46%" height="6">
              <? if ($btnContinueQuote)
{//begin
?>
              <?
}//end
 
?>
              <font size="2" color="#000099" face="Arial, Helvetica, sans-serif">LIST
              OF MEDICAL AID SCHEMES FROM SEARCH:</font> </td>
            <td width="54%" height="6">
              <select name="comboResultPlan1" multiple size="3">
                <? while ($GetSelectedTypeRow = ibase_fetch_row($GetSelectedType_Result))
 {//begin
$SelectedQuotationSchemeName = $GetSelectedTypeRow[1];
if ($GetSelectedTypeRow[0] == $schemenumberSelected)
{//begin
 $SetInitial = "selected";   
 }//end
else
  {//begin
  $SetInitial = "";  
  }//end
?>
                <option value="<? echo $GetSelectedTypeRow[0]?>" <?echo $SetInitial?> >
                <? echo $GetSelectedTypeRow[1]?>
                </option>
                <?}?>
              </select>
              <select name="comboResultPlan" multiple size="3">
                <? while ($GetSelectedTypeRow = ibase_fetch_row($GetSelectedType_Result))
 {//begin
$SelectedQuotationSchemeName = $GetSelectedTypeRow[1];
if ($GetSelectedTypeRow[0] == $schemenumberSelected)
{//begin
 $SetInitial = "selected";   
 }//end
else
  {//begin
  $SetInitial = "";  
  }//end
?>
                <option value="<? echo $GetSelectedTypeRow[0]?>" <?echo $SetInitial?> >
                <? echo $GetSelectedTypeRow[1]?>
                </option>
                <?}?>
              </select>

Reply via email to