ok
Direktori : /home/importfo/public_html/physiocarephysiotherapy.co.in/admin/ |
Current File : /home/importfo/public_html/physiocarephysiotherapy.co.in/admin/get_subcat.php |
<?php include('config.php'); if(!empty($_POST["s_id"])) { $id=intval($_POST['s_id']); $query=mysqli_query($db,"SELECT * FROM spare_cat_main WHERE s_id='$id'"); ?> <option value="">Select Sub Category</option> <?php while($row=mysqli_fetch_array($query)) { ?> <option value="<?php echo htmlentities($row['s_id']); ?>"><?php echo htmlentities($row['machine_name']); ?></option> <?php } } ?>