hello...my task is to merge two 2D arrays based on a common element. the vardump for each one look like this:
debut_structure: [" 2932 "]=> array(2) { [0]=> string(6) "019462" [1]=> string(3) "101"
color_structure: ["019462"]=> array(2) { [0]=> string(10) "BL1234 " [1]=> string(30) "SKY BLUE "
The goal is to combine array entries that have identical numbers at debut_structure middle position (subarray position[0]):
[0]=> string(6) "019462"
with the key from color structure:
["019462"]=>array(2)
Can anyone steer me in the general direction for matching & merging in this type of situation?
thanks again...
knelson