0
所以我有這個陣列的國家,轉換陣列
Array
(
[0] => Array
(
[AF] => Afghanistan
)
[1] => Array
(
[AX] => Ã…land Islands
)
[2] => Array
(
[AL] => Albania
)
)
我想在轉換成鍵值對的以下格式:
Array(['AF'] => 'Afghanisthan' , ['AX'] => 'A...land', ['AL'] => 'Albania');
感謝
循環,然後將其分配給另一個數組 –