Warning: pg_query(): Query failed: ERROR: syntax error at or near "and"
LINE 2: where servico_condominio_id = and servico_bloco_id = a...
^ in /home/storage/3/24/5c/lcgas1/public_html/cadastro_servicos.php on line 57
Warning: pg_num_rows() expects parameter 1 to be resource, boolean given in /home/storage/3/24/5c/lcgas1/public_html/cadastro_servicos.php on line 58