I have two multidimensional arrays:
$instruments = array( array( ID => 'value',
Name => 'value',
Model => 'value '
),
array( ID => 'value',
Name => 'value',
Model => ' value'
),
array(ID => 'value',
Name => 'value',
Model => 'value '
),
ID => 'value',
Name => 'value',
Model => 'value '
),
)
);
$stores= array( array( ID => 'value',
Name => 'value',
Adress => 'value '
),
array( ID => 'value',
Name => 'value',
Adress => ' value'
),
array(ID => 'value',
Name => 'value',
Adress => 'value '
),
ID => 'value',
Name => 'value',
Adress => 'value '
),
)
);
I need to make a loop that will merge this arrays, and then get the requested data(instrument ID, name, model and information about stores where to get them) based on user input (instrument name).