. */ include_once __DIR__.'/../../core.php'; $totale_da_pagare = sum(array_column($records, 'Importo')); $totale_pagato = sum(array_column($records, 'Pagato')); echo '