If they are all multiple questions and foe every set of answers (a0,a1,a2...) there is only a finite set of matches: [(b0,b1,..), (c0,c1...),...] you can map each each possile set of anwsers into an integer. You can store each "compatibility" in a table with two integer fields. Now you can select "compatible" people by doing a table join or two selects.
Hope this helps. On Feb 25, 2:07 pm, Lorin Rivers <[email protected]> wrote: > I want to connect users on a site based on their responses to a series of > questions (some sample questions): > Smoker? [y/n] (possibly with a flip-side question: Tolerate smokers? [y/n]) > Carnivore or Vegetarian? > > and so on, with a goal of finding other "compatible" people who've taken the > survey. > > Can you think of a light-weight solution? > > Thanks! > > -- > Lorin Rivers > Mosasaur: Killer Technical Marketing <http://www.mosasaur.com> > <mailto:[email protected]> > 512/203.3198 (m)

