SELECT DISTINCT(id_cliente), * FROM contas_receber WHERE data_vencto BETWEEN '".$venc."' AND '".$venc2."' AND forma = '".$_POST['forma']."'
tá dando o seguinte erro:
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 '* FROM contas_receber WHERE data_vencto BETWEEN '1130810400' AND '1134180000' AN' at line 1
Obrigado desde já..
Flws..
Até mais