QAds
Canon Digital Rebel XSi 12.2 MP Digital SLR Camera with EF-S 18-55mm f/3.5-5.6 IS Lens (Black)
$363.00
Motorola RIZR Z8 Ferrari Quad-Band, 2 MP Camera, MP3 Player and MicroSD Slot
$194.99
Nokia N97 3G, 5 MP Camera, A-GPS, 32 GB, MicroSD Slot
$374.99
Toshiba Satellite T115D-S1125 LED TruBrite Laptop
$360.00
:: HOME PHP Using Multi Select
 
Using Multi Select

If you want to use multi select option with PHP you need to use arrays:

HTML file :

<select name="select[]" size="5" multiple="true">

    options here

</select>

 

PHP file :

<?PHP

$select = $_POST['select'];

if(is_array($select))

{

    foreach($select as $option) {

       echo $option;

    }

}