Do they have to be matched as pairs? If so, then it's simply not possible. If they only need to be matched to another person, then pick any pair off the list (Santa A & B) and the left out Santa (C) and match A->B, B->C, C->A

~Rolan

Hi Rolan,

Thanks for the input. Works like a charm. I was approaching the problem from the wrong angle. Thanks again.

Anthony Papillion
_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

Reply via email to