RE: [PHP] Checking for existing records

2003-06-03 Thread Jay Blanchard
[snip] When saving records to a table I generally do a fairly standard check to ensure that there is not already a record of the same name. I even put a big warning message on the page asking users to check to ensure that a record of a particular name doesn't already exist before they create a

RE: [PHP] Checking for existing records[Scanned]

2003-06-03 Thread Michael Egan
Thanks - I'll try to add these checks. Life would be so much easier if it weren't for the users :-) Michael Egan -Original Message- From: Jay Blanchard [mailto:[EMAIL PROTECTED] Sent: 02 June 2003 14:38 To: Michael Egan; PHP General (E-mail) Subject: RE: [PHP] Checking for existing

RE: [PHP] Checking for existing records[Scanned]

2003-06-03 Thread Michael Egan
I should have looked at the manual a bit more thoroughly. I've just come across the similar_text() function which should do just what I'm after :-) Thanks, Michael Egan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Checking for existing records

2003-06-03 Thread Daniel Stark
You might also look into word stemming (removing suffixes and possibly prefixes) and comparing stemmed titles. Another possibility would be to find a list of commonly misspelled/misused words like (there, their, they're) and substitute all possibilities with one version for the purposes of

RE: [PHP] Checking for existing records[Scanned]

2003-06-03 Thread Michael Egan
: 02 June 2003 15:11 To: Michael Egan Cc: PHP General (E-mail) Subject: Re: [PHP] Checking for existing records[Scanned] You might also look into word stemming (removing suffixes and possibly prefixes) and comparing stemmed titles. Another possibility would be to find a list of commonly