Here is a sample array values that is returning:
Here is the first array:
Array 1:
0 =>
name => Test name value
desrciption => Test description value
category => Test category value
code_1 => IGEF001
code_2 => IGGF001
1 =>
name => Test name value
desrciption => Test description value
category => Test category value
code_1 => IGEF003
code_2 => IGGF003
2 =>
name => Test name value
desrciption => Test description value
category => Test category value
code_1 => IGEF004
code_2 => IGGF004
Here is the second array:
Array 2:
0 =>
return_code => IGEF003
1 =>
return_code => IGGF003
2 =>
return_code => IGGF004
3 =>
return_code => IGEF004
4 =>
return_code => IGGF001
5 =>
return_code => IGEF001
Here is what I'm trying to accomplish:
0 =>
name => Test name value
desrciption => Test description value
category => Test category value
code_1 => IGEF001
code_2 => IGGF001
select_code_1 => IGEF001 <-- Value coming from the second array
select_code_2 => IGGF001 <-- Value coming from the second array
1 =>
name => Test name value
desrciption => Test description value
category => Test category value
code_1 => IGEF003
code_2 => IGGF003
select_code_1 => IGEF003 <-- Value coming from the second array
select_code_2 => IGGF003 <-- Value coming from the second array
2 =>
name => Test name value
desrciption => Test description value
category => Test category value
code_1 => IGEF004
code_2 => IGGF004
select_code_1 => IGEF004 <-- Value coming from the second array
select_code_2 => IGGF004 <-- Value coming from the second array
I hope this is enough information, let me know if you need any more.