$cols = array();
foreach($xx as $c) {
$tn = sprintf($ocl.'_%s', $c);
- echo '<PRE>'; var_dump($tn);
+ // echo '<PRE>'; var_dump($tn);
if ($distinct && $tn == $distinct) {
$has_distinct = 'DISTINCT( ' . 'join_'.$ocl.'_'.$col.'.'.$k .') as ' . $tn ;
$this->countWhat = 'DISTINCT join_'.$ocl.'_'.$col.'.'.$k;