I am having trouble, I'm tryint to delete but not happening.
Error in query delete Cart, CartDetail from Cart, CartDetail where Cart.CartID=CartDetail.CartID and Cart.UserID='131' and Cart.CartID='25' You have an error in your SQL syntax near 'Cart, CartDetail from Cart, CartDetail where Cart.CartID=CartDetail.CartID and C' at line 1
here my query
$query="delete Cart, CartDetail from Cart, CartDetail where Cart.CartID=CartDetail.CartID and Cart.UserID='$UserID' and Cart.CartID='$retrieve' ";