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 '' at line 1
SELECT * FROM imoveis WHERE id =
(DB_QUERY)
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 destaque = 0' at line 1
SELECT * FROM fotos WHERE imoID = AND destaque = 0
(DB_QUERY)
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 destaque = 1 LIMIT 1' at line 1
SELECT * FROM fotos WHERE imoID = AND destaque = 1 LIMIT 1
(DB_QUERY)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||