Hello,
I've been struggling to combine 2 arrays into one without messing up all of the data.
Both arrays have 2 columns. First column contains IDs and the second one contains prices. I need a third array with all of the IDs (some are the same in array 1 and 2) and prices from both arrays, each in its own column - so array 3 has 3 columns.
I've been trying with For each loops in different ways but I always end up with either just 1 value (the loop doesn't run correctly) or I'm just overwriting array 1 with array 2 instead of combining them.
Any help would be much appreciated!