Hi, Im having a hard time with 2 dimensional arrays.
I want to merge two 2 dimensional arrays (or add a two dimensional element to an already existing 2 dimentional array), but I must be able to maintain the location of all of the elements, like:
array1(
[1]=>[1][2]
[3]=>[1][2]
)
and then adding another 2 dimensional array to the first with a specific location:
array2(
[23]=>[1][2]
)
+
array1(
[1]=>[1][2]
[3]=>[1][2]
)
array3(
[1]=>[1][2]
[3]=>[1][2]
[23]=>[1][2]
)
I have no idea how to do this, I suspect that the solution is very simple and I apriciate all the help I can get. Thanks in advance.