Prova con

codice:
$sql="SELECT $champ, count($champ) as champcle FROM $DBTable WHERE dataora = '$wa' GROUP BY $champ ORDER BY $champ ASC";