I wrote a little chunk of code that explodes a string and uses the string components to access some array data stored in "$instruction_j son". The below code is quite repetetive/redundant and I suspect it could be done with just a couple of lines of code instead, but I can`t figure out how. Any takers?
Code:
// compile data actually comes from a database, but an example value would be "title.jp",