با سلام وقتی کد را اجرا میکنم خطا میاره
<?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