You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '--SELECT * FROM cart WHERE session_id IN ('adfh6lb349g2119oivocfd8n54'); ' at line 1