Salve a tutti.
Ho un codice del tipo:

Codice PHP:
$sqlbolle2012 "SELECT * FROM bolle2012'";

$risultatobolle2012 = @mysql_query($sqlbolle2012,$connessione) or die(mysql_error());

while(
$riga mysql_fetch_array($risultatobolle2012)) {
    
$ID $riga['ID'];
    
$data $riga['data'];
        
$id_cliente $riga['id_cliente'];
        
$totfatt $riga['totfatt'];
        
$causale $riga['causale'];

       
$prova .= "$ID";

       } 
Vorrei fare in modo che i vari $totfatt vegano sommati.
Come posso fare?

Vi rignrazio anticipatamente.