Moin
habe folgendes Problem:
$array = array("test1", "test2", "test3");
$array[4] = "test4";
function getit() {
global $array;
print $array[2];
print $array[4];
}
Ich bekomme allerdings nur "test2" als ausgabe geliefert und nicht auch "test4". Warum?
Danke schonmal für eure Help.