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 'N' Vac ES-1000' AND id <> '105472' AND view = ' at line 4