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