statistic more genric
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user