Erro na Linha: #7 :: array_map() [function.array-map]: Argument #2 should be an array
/home/ftp.imovago/public_html/imovel_selecionado.php

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND imoveis.ativo = 'Y' AND imoveis.ativo_imovago = 'Y' AND imobiliarias.ativo =' at line 10