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

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

Warning: Undefined array key "rental_days" in /home/keshavvps/public_html/keshav/KG1/solano/add_to_cart.php on line 6

Warning: Undefined array key "start_date" in /home/keshavvps/public_html/keshav/KG1/solano/add_to_cart.php on line 7

Warning: Undefined array key "end_date" in /home/keshavvps/public_html/keshav/KG1/solano/add_to_cart.php on line 8

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/add_to_cart.php:12 Stack trace: #0 /home/keshavvps/public_html/keshav/KG1/solano/add_to_cart.php(12): mysqli_query(Object(mysqli), 'SELECT * FROM c...') #1 {main} thrown in /home/keshavvps/public_html/keshav/KG1/solano/add_to_cart.php on line 12