I would like to know how to change the contents from several ARRAYS into new ARRAYS.
I have this 3 vars with a ARRAY each, lets say the first var is $number
and it has this array:
Array
(
[0] => 1
[1] => 3
[2] => 9
)
The second var is $item
and it has this:
Array
(
[0] => house
[1] => car
[2] => bike
)
And the third is $color
and it has this:
Array
(
[0] => red
[1] => white
[2] => black
)
How can I change the contents and create new arrays like this:
Array
(
[0] => 1
[1] => house
[2] => red
)
Array
(
[0] => 3
[1] => car
[2] => white
)
Array
(
[0] => 9
[1] => bike
[2] => black
)