私は2つの配列を持っています
$array1= array([6] = 6 [9] = 9 [60] = 60 );
$array2 = array([01] = 01 [03] = 03 [02] = 0);
この結果が欲しい:
$array_new = array([6] = 6 [9] = 9 [60] = 60 [01] = 01 [03] = 03 [02] = 0);
助けてください
ありがとう
私は2つの配列を持っています
$array1= array([6] = 6 [9] = 9 [60] = 60 );
$array2 = array([01] = 01 [03] = 03 [02] = 0);
この結果が欲しい:
$array_new = array([6] = 6 [9] = 9 [60] = 60 [01] = 01 [03] = 03 [02] = 0);
助けてください
ありがとう
使用array_merge()
機能:
$array_new = array_merge($array1, $array2)