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 'luotxem + 1 WHERE id =''840' at line 1 SQL:UPDATE table_baiviet SET luotxem =''luotxem + 1 WHERE id =''840