I don't think this is a duplicate, but maybe I'm just not using good keywords. I need to take a 2D array and add in another 2D array such that
$arr = array(array(1,2), array(3,4), array(7,8));
$arr2 = array(array(5,6));
array_splice($arr, ?, ?, $arr2);
Would give me back
[0] => 1,2
[1] => 3,4
[2] => 5,6
[3] => 7,8
I'm at a loss at how to do this, as the documentation isn't clear how to not remove any of the array but still add to it.
Thanks.