Okay, this is related to my other topic but has become something bigger and different.
I have a JSON file filled with products. Each product broken down into different nodes, Name, Model, Version etc.
Via a search field I want to return the best matches. More words will return a more refined result, comparing different words over different elements in my JSON file.
What's the best way of doing this in PHP?
Am I best to combine all my Name, Model and Version into a new string within my foreach loop and then doing some kind of match, comparison?
Open to ideas.