How to select multiple occurences from a drop down list

cobayecrau 05 Feb, 2009
I tried the following and it does not work

<SELECT class="cf_inputbox validate-selection" id=select_6 size=4 name=select_6 >
    <?php
    foreach ($rows as $current) {
      echo "<option value='$row' multiple >$current</option>";
    }
    ?>
    </select>


With the 'selected' argument it works but with multiple it doesn't, any idea ?
GreyHead 05 Feb, 2009
Hi cobayecrau,

"multiple='multiple' belongs in the <select . . .> tag

Bob
This topic is locked and no more replies can be posted.