So I have two seperate arrays. One with the IDs of the target, and one with the name of the target. Both are in cronilogical order.
Example:
$array[1] => Array
(
[0] => 113139803806479652682
[1] => 100276549585470687394
)
and
$array[2] => Array
(
[0] => EDM
[1] => Space
)
So in $array[1] the [0] in that is the ID for "EDM" (as seen in $array[2]) and then [1] in $array[1] is the name ID for "Space".
What I want to achieve is outputting a new array which would look like this:
[0] => Array
(
[0] => 113139803806479652682
[1] => EDM
)
[1] => Array
(
[0] => 100276549585470687394
[1] => Space
)
Basically a new array which returns a multiple dimensional array with the ID and name in the same array as taken from the two sepearte arrays that had the names and IDs in order already, just I want them formed so they go together.
I hope this makes sense. I'm kind of new to PHP and coding in general.