Welcome to WebmasterWorld Guest from 54.196.175.173

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

Name and account matching

How to match names and addresses from form input

     

Tourex

2:00 pm on Nov 7, 2006 (gmt 0)

10+ Year Member



I need to build a PHP/MySQL reservation management system for a client. The client manages reservations for accommodation, tours and a variety of other services. They handle reservations from various tour operators and/or directly from their own website.

Rather than having a collection of reservation records containing disparate unrelated customer names, it would make sense to have a main ‘customer’ database. The problem is how do we ‘match’ the customers from various bookings. We shall have a name and address in the vast majority of cases (and an email case in some, but not all, cases), but we can’t guarantee that the customer or tour operator will have entered/spelled the details exactly the same in any case. We certainly can’t rely on the customer providing a customer or reservation number – in fact they may have booked their accommodation through one of the agencies tour operators and then book car rental and tours directly from the client’s website without realising any connection until they arrive.

Has anyone got any clever ideas of the best way to take form data and reliably match the customer’s details with existing database records?

coopster

2:41 pm on Nov 7, 2006 (gmt 0)

WebmasterWorld Administrator coopster is a WebmasterWorld Top Contributor of All Time 10+ Year Member



How about having them select a customer from a pre-determined list (with a search feature that allows them to find any given customer by name or phone number perhaps? That way you can use your serial id to relate keys across the tables.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month