note 10739 deleted from function.soundex by jimw
| From: | jimw@php.net | Date: | Sat, 08 Dec 2001 23:34:55 +0000 |
| Subject: | note 10739 deleted from function.soundex by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-22344@lists.php.net to get a copy of this message | ||
Be careful when comparing the results of PHP's soundex and MySQL's soundex. PHP only
returns a 4 character string, no matter how long the actual soundex value of your original string
could be.
MySQL, on the other hand, always returns the full soundex string. You have to use MySQL's
substring() to get soundex() to return a standard length code.