Hi junior!
wo muss ich jetzt die +/- 5 Jahre unterbringen?
Setze $min und $max entsprechend.
Und wie sag ich dem, das er immer das aktuelle Jahr als Grundlage für das +/- 5 heranziehen soll?
[link:http://php.net/date@title=date]('Y') gibt dir das aktuelle Jahr als vierstellige Zahl zurück.
MfG H☼psel
--
"It's amazing I won. I was running against peace, prosperity, and incumbency."
George W. Bush speaking to Swedish Prime Minister unaware a live television camera was still rolling, June 14, 2001
Selfcode: ie:% fl:( br:> va:) ls:& fo:) rl:? n4:& ss:| de:] js:| ch:? sh:( mo:) zu:)
"It's amazing I won. I was running against peace, prosperity, and incumbency."
George W. Bush speaking to Swedish Prime Minister unaware a live television camera was still rolling, June 14, 2001
Selfcode: ie:% fl:( br:> va:) ls:& fo:) rl:? n4:& ss:| de:] js:| ch:? sh:( mo:) zu:)