<!DOCTYPE html>
<html>
<head>
<title>Bootstrap Select</title>
<meta charset="utf-8">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
<link rel="stylesheet" href="dist/css/bootstrap-select.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
<script src="dist/js/bootstrap-select.js"></script>
</head>
                                         
<body>
<!--<form class="form-inline">-->
    <!--<div class="form-group">
         <label class="col-md-3 control-label" for="select-testing">select :</label>
    </div>
    <div class=”form-group”>-->
    <!--<div>
        <select id="select-testing" class="selectpicker" data-live-search="true" title="Please select">-->
        <select class="selectpicker" data-live-search="true" title="Please select">
            <?php
							$con = @mysqli_connect("localhost", "root", "abc456", "ProudAsiaDB") 
								     or die(mysqli_connect_error());
							mysqli_query($con,"set names utf8"); 
   
							$sql = "select DISTINCT C_NAME FROM cust001 ORDER BY C_NAME ASC";
							$query = mysqli_query($con,$sql);
							while($result = mysqli_fetch_array($query)){
								if($strDefault == $result["C_NAME"]){$sel = "selected";}
									else{$sel = "";}
						?>
            <option value="<?php echo $result["C_NAME"]; ?>">
                            <?php echo $result["C_NAME"]; ?>
            </option>
            <!--<option>Ant and Apple</option>
            <option>Bat and Boy</option>
            <option>Cat and Can</option>
            <option>Dog and Digger</option>
            <option>Egg and Elephent</option>-->
            <?php } ?>
        </select>
     <!--</div>
</form>-->
</body>
</html>