I just want to insert all of the products records that are added to cart page. but when I press checkout button only one record is inserted and my query is like that. so if anyone could help me out please.
$sql = "insert into products (Product_id, Name) VALUES('$productid', '$name' where Customer_id='$customer_session_id');