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"
}
So I want to get the elements of array
val
which are 2 4 6 and add in the same 4 5 7.
All in a single array
.