PHP 8.4.24 Released!

Voting

: seven minus four?
(Example: nine)

The Note You're Voting On

jr
23 years ago
a workaround for the mysql/php differences in implementation of soundex is to do the soundex comparison entirely within mysql.

for example:
$sql = "SELECT * FROM table WHERE substring(soundex(field), 1, 4) =  substring(soundex('".$wordsearch."'), 1, 4)";

<< Back to user notes page

To Top