faygh2013 0 گزارش دادن ارسال شده در دی 99 با سلام وقتی کد را اجرا میکنم خطا میاره <?php //print_r($cart); $total = 0; foreach ($cart as $key => $value) { //echo $key . " : " . $value['quantity'] ."<br>"; $cartsql = "SELECT * FROM products WHERE id=$key"; $cartres = mysqli_query($connection,$cartsql); $cartr = mysqli_fetch_assoc($cartres); ?> session.rar نقل قول Share this post Link to post Share on other sites