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 '-1 WHERE bdclubs.code=bdpf-1.E01 and bdpf-1.id=365' at line 2