Prova così:
Codice PHP:
$totpagato = array_pop(mysql_fetch_array(mysql_query("SELECT sum(costo_spedizione) FROM $table",$db)));
Prova così:
Codice PHP:
$totpagato = array_pop(mysql_fetch_array(mysql_query("SELECT sum(costo_spedizione) FROM $table",$db)));
La disumanità del computer sta nel fatto che, una volta programmato e messo in funzione, si comporta in maniera perfettamente onesta.
Isaac Asimov