Tipo de Imóvel:

Categoria:

Por Região:

Quartos:


- quartos

    Fatal error: Uncaught exception 'Exception' with message 'Erro na hora de executar o sql na tabela album. <br>1064 - 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 id != 1 ORDER BY id desc' at line 1<br>SELECT * FROM album WHERE ativo = 'S' and idImovel = and id != 1 ORDER BY id desc ' in /home/httpd/vhosts/miranteimoveis.com/httpdocs/site/adm/class/SQL.php:152 Stack trace: #0 /home/httpd/vhosts/miranteimoveis.com/httpdocs/site/adm/class/DAO.php(169): SQL->executaSQL(Array, 'album', 'SELECT', 'ativo = 'S' and...', 'id desc', '', '', '') #1 /home/httpd/vhosts/miranteimoveis.com/httpdocs/site/adm/class/Imovel.class.php(945): DAO->listaTodos('id desc', 'ativo = 'S' and...') #2 /home/httpd/vhosts/miranteimoveis.com/httpdocs/site/site/descricao.php(72): Imovel->listaAlbuns() #3 {main} thrown in /home/httpd/vhosts/miranteimoveis.com/httpdocs/site/adm/class/SQL.php on line 152