... the closest solution but it still didn't work for me. But the idea of inserting a NULL entry to select sounded good.
Aim / Objective
The plan will be to replace the default "" with a custom null ...
... instead of spot on).
$didyoumean_words_array=array();
foreach ($terms as $term) {
$term=strtolower($term);
# get closest word by LEVENSHTEIN
$shortest = -1;
foreach ($levenshtein_words as ...
We use cookies to improve your experience on our website. By browsing this website, you agree to our use of cookies. Read more about our Privacy Policy.