INSERT INTO carrello(session, user, prodotto, quantita, ip, data_aggiunta) VALUES ('3bd5ae23bd374d8d77079ed7f2a232a5', , 209, 1, '54.224.103.239', 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 ' 209, 1, '54.224.103.239', NOW() ) ON DUPLICATE KEY UPDATE user=user' at line 1