Hi
This has been bugging me, I can't get my head around it. I will use the foodstuffs analogy to try and simplify my probelm.
1000 members of the public where asked to pick a variety from each of 13 categories of footstuff. These selections were then stored in a mysql database against their name.
e.g. billy mary etc. etc.
milk....semi. .skimmed...
bread...white...brown....
cheese..edam.....edam....
fruit...apple...orange...
veg....potato...sprout...
meat....beef.....beef....
sweet..bonbons..liquorice..
fish...trout....salmon...
crisp....s&v....plain....
biscuit..hovis..rich tea..
wine.....red.....red.....
beer....stella..carlsburg..
carb....coke.....pepsi....
One of those 1000 was then asked to select anywhere from zero to 13 of their selections via checkboxes.
By searching the database how many others selected the same varieties?
Display in a table showing all their names and what they selected for all 13 varieties.
Does that make sense? I hope so 'cause it's driving me mad.
Thanks in advance.