[eluser]Bionicjoe[/eluser]
Your function from above works (with some slight edits). However I've run into an error with the implode or explode saying:
"Message: implode() [function.implode]: Invalid arguments passed"
It worked a couple of times, and I don't know why it stopped working. Hopefully this will work until I can get the db tables all normalized.