| Erro! # 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 (p.fk_subcategoria = ) ORDER BY RAND() LIMIT 0,24' at line 1 SELECT p.* FROM tb_classificados as p WHERE 1 AND (ativo = "SIM") AND id <> 12 AND (p.fk_categoria = ) AND (p.fk_subcategoria = ) ORDER BY RAND() LIMIT 0,24 |