note 9928 deleted from function.soundex by jimw

From: Date: Sat, 08 Dec 2001 23:34:39 +0000
Subject: note 9928 deleted from function.soundex by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-22342@lists.php.net to get a copy of this message
SOUNDEX is particularly useful when dealing with a database that also has this function. ORACLE and InterBase as well as many others support. Instead of having the database convert both sides, like: $stmt = "SELECT * FROM STAFF WHERE SOUNDEX ( FIRST_NM ) = SOUNDEX ( 'Coupland' ) ;" ; You could let PHP do one side, like: $stmt = "SELECT * FROM STAFF WHERE SOUNDEX ( FIRST_NM ) = " . soundex ( 'Coupland' ) . " ;" ; Thereby taking half the load even though it’s really doesn’t take much load in the first place.

« previous php.notes (#22342) next »