diff --git a/main.php b/main.php index 1363707..f50d2b9 100644 --- a/main.php +++ b/main.php @@ -61,9 +61,14 @@ $year_total += $checks['amount1']; $year_total += $checks['amount2']; } + $reportLink = sprintf('
%s report', + $MY_SERVER, + $_SESSION['year'], + $_SESSION['year'] + ); echo spacer(1,20); echo '
' . - round_table($_SESSION['year'] . ' total: $' . $year_total, 1) . '
'; + round_table($_SESSION['year'] . ' total: $' . $year_total . $reportLink, 1) . ''; echo spacer(1, 30); echo '
' . round_table('Logout', 1) . '
'; echo '';