query($sql); echo "Gruppierung:
"; while($dsatz = $res->fetch_assoc()) echo $dsatz["hersteller"] . "(" . $dsatz["anzahl"] . "): " . $dsatz["mittelwert"] . " €
"; $res->close(); $con->close(); ?>