Ok, entonces te quedó así tu consulta:
Código PHP:
Ver original$conexion= pg_connect ("host=localhost port=5432 user=postgres password=postgres dbname=Distribuidora_DC"); //abro la conexion
$sql='select..from...where.....';
if($radio==´true´){
$sql.=' and cli_chek='.'true';
}
elseif ($radio=='false'){
$sql.=' and cli_chek='.'false';
}