INSERT INTO carrello(session, user, prodotto, quantita, ip, data_aggiunta) VALUES ('209998934d9b0e8e4cd133c95e994a5a', , 547, 1, '54.227.104.53', NOW() ) ON DUPLICATE KEY UPDATE user=user
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 ' 547, 1, '54.227.104.53', NOW() ) ON DUPLICATE KEY UPDATE user=user' at line 1