<select class="form-control" name="pack" id="pack">
    <option value="" >-- Select --</option>
<?php 

    include "Admin/config/setup.php" ;
    											
    $cate_id = $_POST['cate_id'];
    $pack_sql = "SELECT * FROM package_master WHERE pack_status = 1 AND pack_sub_cate = '$cate_id' " ;
    $pack_res = $config->query($pack_sql);
    while($pack = $pack_res->fetch_assoc()){
        $cost = $pack['pack_cost'] == 0 ? 'Free' : 'Cost Rs.'.$pack['pack_cost'] ;
?>
    <option value="<?= $pack['pack_id'] ?>"><?= $pack['pack_duration'].' Days - '.$cost; ?></option>
 <?php  }											   
?>
	</select>