find (matching) person in other table
- From: afan@xxxxxxxx (Afan Pasalic)
- Date: Wed, 30 May 2007 15:30:59 -0500
hi,
the code I'm working on has to compare entered info from registration form with data in members table and list to administrator (my client) all "matching" people. admin then has to decide is person who registered already in database and assign his/her member_id or the registered person is new one and assign new member_id.
I was thinking to assign points (percentage) to matching fields (last name, first name, email, phone, city, zip, phone) and then list people with more than 50%. e.g., if first and last name match - 75%, if only email match - 85%, if first name, last name and email match - 100%, if last name and phone match - 50%... etc.
does anybody have any experience with such a problem? or something similar?
thanks for any help.
-afan
.
- Follow-Ups:
- Re: [PHP] find (matching) person in other table
- From: "Richard Lynch"
- Re: [PHP] find (matching) person in other table
- Prev by Date: Re: [PHP] preg_match() returns false but no documentation why
- Next by Date: Re: [PHP] Form Validation Issues
- Previous by thread: preg_match() returns false but no documentation why
- Next by thread: Re: [PHP] find (matching) person in other table
- Index(es):
Relevant Pages
|