0
假設我有兩個數組類似如下的兩個或更多陣列:加入陣列
$arr2 = array(array("first", "second"), array("third", "fourth"));
$arr3 = array(array("fifth", "sixth", "seventh"), array("eighth", "ninth"), array("tenth", "eleventh"));
而且我想這樣的結果:
$arr4 = array("first", "second", "third", "fourth", "fifth", "sixth", "seventh","eighth", "ninth","tenth", "eleventh");
如何做到這一點? in PHP
[資料。閱讀。愛它。使用它。](http://php.net/manual/en/function.array-push.php) – 2012-04-09 13:56:39
[http://stackoverflow.com/questions/2184997/combine-two-or-more-multi-dimensional -arrays-in-php](http://stackoverflow.com/questions/2184997/combine-two-or-more-multi-dimensional-arrays-in-php) – faino 2012-04-09 13:56:53
@JackManey你的鏈接不是他要找的。 – Jordan 2012-04-09 13:58:41