<?php
include('session.php');

$count=1;
$colname = $_GET['menu_subcat_cat'];
$query = "SELECT * FROM le_menu_subcat_sr WHERE menu_subcat_cat = '".$colname."'";
$subcat = mysqli_query($leld,$query);
$totalRows_subcat = mysqli_num_rows($subcat);
?>
<div class="form-group c_form_group">
<label>Pod meni</label>
<select name="content_sub" onchange="getaddsubsubmenu(this.value)" class="custom-select" id="inputGroupSelect01" required>
	<option selected disabled>--Izaberi--</option>
<?php while($row_subcat = mysqli_fetch_assoc($subcat)) { ?>
	<option value="<?php echo $row_subcat['menu_subcat_id']?>"><?php echo $row_subcat['menu_subcat_name']?></option>
<?php } ?>
</select>
</div>