Error: SELECT * FROM cms_set1 WHERE attiva = 'SI' ORDER BY data LIMIT =public/foto/casa-di-campagna.jpg&w=150&h=150&a=r,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/casa-di-campagna.jpg&w=150&h=150&a=r,12' at line 1