<html>
<head>
<title>ThaiCreate.Com PHP & MySQL Tutorial</title>                                       
</head> 

<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>
     
<body>
<?php 
    error_reporting(0);	
    $con = mysqli_connect("localhost", "root", "abc456", "ProudAsiaDB") 
								     or die(mysqli_connect_error());
    mysqli_query($con,"set names utf8"); 
    $sql = "select C_NAME FROM cust001 ORDER BY C_NAME ASC";
    $query = mysqli_query($con,$sql);    
?>
  
<form class="form-inline" name="src" method="post">
    <div class="form-group">
        <label class="col-md-3 control-label" for="select-testing">select:</label>
    </div>
    <div class=”form-group”>
        <select id="select-testing" class="selectpicker" data-live-search="true" title="Please select">
            <?php
							while($result=mysqli_fetch_array($query)){ ?>
            <option><?php echo $name=$result['C_NAME']; ?></option>
            <?php } ?>
        </select>
     </div>  
</form>   
</body>
</html>