<?php include("../db_connection.php");?>
	<div class="form-group">
    <label class="col-md-2 control-label" for="inputText">Category</label>
    <div class="col-md-10">
    <select name="category" id="category" class="form-control" required>
        <option value="">Please Select</option>
      <?php
       $sql=mysql_query("select * from tbl_category where mcid='".$_POST['val']."' and status='Enable' order by name asc");
		while($res=mysql_fetch_assoc($sql))
		{
        ?>
        
        <option  value="<?php echo $res['cid'];?>"><?php echo $res['name'];?></option>
        <?php  }?>
    </select>
    </div>
    </div>
	