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 status = 'ativo' AND cidade ='' AND estado ='' AND categoria = '' AND transa' at line 9
Fatal error: Call to a member function fetch_array() on boolean in /home/imoveispro/public_html/model/function_nativa.php on line 117