Hafiz Nugraha Hafiz Nugraha - 6 months ago 12
MySQL Question

Error when update the tables with PHP

this is the problem `You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'WHERE `idbarang` = '17'' at line 7`


http://pastebin.com/Ep7DSXfh for my code

Answer

Please remove ; before WHERE word