Yeah, I hope this helps:
http://mysidiaadoptables.com/forum/s...ead.php?t=4226
I wrote that post when I was starting out with mysidia, so ignore my little rants. The code is pretty inefficient, but it works. I still don't know how to apply sql joins in mysidia to make it possible to query two tables, so yeah