Grazie per l'incoraggiamento... ma ho letto diversi tutorial sugli array i cicli for
while ecc ecc ma mi sfugge qualche cosa.
avevo fatto anche una struttura del tipo
while ($row = mysql_fetch_assoc($result))
{
$nettofattura = htmlentities($row['nettofattura']);
$values[] = $nettofattura;
}