0

I want multiselect dropdown list, country name followed by country flag. and for now, I implemented multiselect dropdown using:

http://davidstutz.github.io/bootstrap-multiselect/

<h4>Employee should be from Country</h4>

<?php
    $html6= "";
    $qry = "SELECT * FROM jb_country";
    $runQuery = mysql_query($qry);
    $html6 .= "<select name='pref_emp_country[]' class='form-control' id='my-select' multiple='multiple'>";                             
    while ($sub_cat = mysql_fetch_assoc($runQuery)) {
        $html6 .= "<option value=" .$sub_cat['id']. ">" .$sub_cat['name']. "</option>";
    } echo $html6 .= "</select>";                           
?>

this is my code using bootstrap-multiselect. multiselect countries are working fine. but now i want to add flags of each country before country name. I want to know how can i do this!!

Thanks for time saving help

Andrey Korneyev
  • 26,353
  • 15
  • 70
  • 71

0 Answers0