Here is a situational problem. I want to implement a search query using
the Levenshtein algorithm to suggest what the user "might" have meant
(those suggestions already being entries in the database). Simple, just
create a user defined function, and run the thing purely in MySQL.
Problem solved, right?
My client's host is running MySQL version 4.1.21, which pre-dates the
user defined function capability. Doh. So the only viable option I see
is to select all the possible values from the database, create a php
array with these values and run the built in php Levenshtein function