i have a simple Array and i want to call them by an $variable.
example:
$test = array(01=>"Januar",
02=>"Februar",
03=>"März",
04=>"April",
05=>"Mai",
06=>"Juni",
07=>"Juli",
08=>"August",
09=>"September",
10=>"Oktober",
11=>"November",
12=>"Dezember");
$monat = strftime("%m",$timestamp);
So in $monat is something like "04" ... then i call my array:
echo $test[$monat];
But nothing happens ... i did not understand why ... when i call
echo $monat;
shows me "04", "03" ...
why didnt give me the array something?
'01' => ...as(int)01 == 1undefined indexnotice? Have you configured PHP to display all error messages?