title: how to use multiple select dropdown with checkboxes
body: <p>i want to do multiple select drop down with checkboxes. I tried a lot but i am not getting correct result..</p>
  
  <p>Here is my select box:</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;div class="form-group"&gt;
    &lt;label&gt;Choose  Vendor&lt;/label&gt;
    &lt;div class="checkbox"&gt;
      &lt;select class="form-control" multiple class="form-control" data-placeholder="user name" name="user_id[]"&gt;
        &lt;?php foreach($user as $rows) { ?&gt;
          &lt;option value="&lt;?php echo $rows-&gt;user_id?&gt;"&gt;  
            &lt;?php echo ucfirst($rows-&gt;first_name)?&gt; 
          &lt;/option&gt;
        &lt;?php } ?&gt;
      &lt;/select&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>can anyone help me?</p>
  
  <p>Thank you</p>