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 ';SELECT con_id FROM brasil_conteudo WHERE con_cat = 539;SELECT con_id FROM brasi' at line 1