Forum Moderators: coopster
firstName
lastName
When adding a new celebrity, I have to check to see if their name is related to anything else in the database. Its ok to have more than one celebrity with the SAME EXACT NAME, as they are two different people.
My problem is, how would I get celebrities names that are similar to those that I input? I was thinking of having a soundex for each first and last name, then comparing the two? How would I go about doing this, its frustrating.
hit [ctrl] + [f] and search for: As of MySQL 4.1.1, you can use the VALUES(col_name)
read that example, I guess maybe you can use that function on the fields?
You want to retrieve the records, where name is LIKE the input name, only it might differ a bit?
I dont know if there is such an function to find similar records.. some kind of dictionary function.
If you just wish to find celebs with same firstname and/or same lastname, it's easy though!