I've this two arrays:
$arr1['someKey'] = [1,2,3,4,5];
$arr2['someKey'] = [6,7];
how do I add|append the values from the second one into the first one by comparing it's keys? The result should be something like:
$arr3['someKey'] = [1,2,3,4,5,6,7];
Any help?
print_r(array_merge($arr1['someKey'],$arr2['someKey']));will work