Say I have a list of genres that looks something like:
$genres = array(
'soul',
'soul jazz',
'blues',
'jazz blues',
'rock',
'indie',
'cool jazz',
'rock-blues');
...And so on, for 762 values. How can I organize these genres into categories?
For example, I would want the Blues category to contain 'blues', 'jazz blues', and 'rock blues.' I would want the Jazz category to contain 'soul jazz', 'jazz blues', and 'cool jazz.'
Any and all help is appreciated.