Hi,
In PHP die letzten 12 Monate bestimmen ist ja kein Hexenwerk - aber beim Auffüllen hänge ich...
Hast du einen Ansatz für mich?
Werte aus Abfrage in Array packen, Kombination Jahr-Monat o.ä. als Schlüssel.
Schleife über 12 Monate - wenn Wert aus Abfrage vorhanden, dann den ausgeben, sonst 0.
MfG ChrisB
--
“Whoever best describes the problem is the person most likely to solve the problem.” [Dan Roam]
“Whoever best describes the problem is the person most likely to solve the problem.” [Dan Roam]