Wie kann ich diesen Code verkürzen?
$time = $akt["Timestamp"];
// In $time ist nun ein MySQL-Timestamp wie 20030619130118
[..]
echo $time;
// Ausgabe wie 19. Juni 2003
Zum Beispiel so:
$monate=Array(1=>"Januar","Februar","März",etc.);
[..]
SQL: select dayofmonth(timestamp) as t,month(timestamp) as m,year(timestamp) as j from ...
[..]
echo $akt["t"].". ".$monate[$akt["m"]]." ".$akt["j"];
Gruß,
soenk.e