Warning: Undefined array key "user_id" in /home/keshavvps/public_html/keshav/KG1/solano/remove_from_cart.php on line 4

Warning: Undefined array key "product_id" in /home/keshavvps/public_html/keshav/KG1/solano/remove_from_cart.php on line 5

Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND product_id =' at line 1 in /home/keshavvps/public_html/keshav/KG1/solano/remove_from_cart.php:8 Stack trace: #0 /home/keshavvps/public_html/keshav/KG1/solano/remove_from_cart.php(8): mysqli_query(Object(mysqli), 'DELETE FROM car...') #1 {main} thrown in /home/keshavvps/public_html/keshav/KG1/solano/remove_from_cart.php on line 8