statistic more genric

This commit is contained in:
Walter Hupfeld
2026-07-09 18:38:26 +02:00
parent f3443bfd4d
commit 8e2d9fbcee
5 changed files with 81 additions and 95 deletions
+7
View File
@@ -127,3 +127,10 @@ function get_series_verlauf($arrData,$arrBezeichnung){
return $strResult;
}
function titleYears(int $numLatestYear, int $numStartYear) {
$html = "";
for ($year = $numLatestYear; $year >= $numStartYear; $year--) {
$html .= "<th>{$year}</th>";
}
return $html;
}