Error: SELECT * FROM iris_quartiers WHERE ) AND com_id = '7510' AND type_iris != 'Z' GROUP BY iris_id ORDER BY nom_quartier ASC

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 ') AND com_id = '7510' AND type_iris != 'Z' GROUP BY iris_id ORDER BY nom_qu...' at line 1