Error: SELECT * FROM cms_set1 WHERE attiva = 'SI' ORDER BY data LIMIT =public/foto/antincendio.jpg&w=50&h=50&a=,12

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 '=public/foto/antincendio.jpg&w=50&h=50&a=,12' at line 1