QAds
Apple iPod shuffle 4 GB Pembe
$49.13
Motorola A1200 MING Smartphone
$112.49
Apple iPod shuffle 4 GB Mavi
$49.13
Nokia N8 Touchscreen Phone Siyah - gps navigation, Voice Navigation, 12 MP Camera
$449.99
:: 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;

    }

}