1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14:
php $arr = szyk ("(1) " => " Jan", "2 " => " Feb", "3 " => " Mar", "4 " => " Apr", "5" => "Maj", "6" => "Jun", "7" => "Jul", "8" => "Aug", "9" => "Sept"); echo ""; foreach ($arr jako $time=>$item) { echo "$month: $item \ n"; } echo ""; ? >
"; foreach ($arr jako $time=>$item) { echo "$month: $item \ n"; } echo "
(1): 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25:
" . PHP_EOL; // CREATE AND DISPLAY A TWO DIMENSIONAL ARRAY $arr = array ( 'Dogs' => szyk ("Pomorski" => "Mały" , "Chihuahua" => "Mały" , "Terier" => "Środek" , "Wielki Duńczyk" => "Ampuła" ) , "Kot => szyk ("Syjamski" => "" , "Perski" => "Kosmaty" , "Kuguar" => "Niewidzialny" , "Tygrysi" => NIEOBOWIĄZUJĄCY , "Lew" => FAŁSZYWY ) ) ; var_dump ($arr);