1
I have 2 Arrays
:
"val" => {
"0": "2"
"1": "4"
"2": "6"
"3": null
"4": null
}
"p" => {
"0": "4"
"1": "5"
"2": "7"
"3": "8"
"4": "9"
}
Before that I want to take the elements of array
val
which are 2 4 6 and add in the same 4 5 7.
All in a single array
.
array_merge()
?– rray
Put the expected result in the question as well, as your solution attempt describing the error you found.
– Woss