Make (in memory) database of musical instruments and database stores.
Base 1 must have:
name of the instrument
Base 2 must have:
The user enters the name of the instrument in the variable at the beginning of the program.
The program broadcasts a list of all the instruments of a similar name and the shops where it is located.
Arrays and loops Must be used
This an assignment I’m having trouble with. When I asked how to make the connection between stores and instruments I was given this as an answer.
$instruments = array(
$stores = array(
$stores_instruments = array(
And this is my progress so far
I’m not the last array is correctly done, plus I need help with the loop, I think the foreach should be used.
The html part isn’t important.
Any help would be appreciated.