I'm trying to compare two entries from two different channels and see if they share a common category. Each entry can be assigned to a number of categories. Both channels use the same category group.
I want to display some information if the same category is assigned to both entries. That's the easy bit :)
How would I do this? I'll admit my brain's a bit fried this afternoon so I may well be missing the obvious solution.