fuzzy searching an array in php
问题 after i searched i found how to do a fuzzy searching on a string but i have an array of strings $search = {"a" => "laptop","b" => "screen" ....} that i retrieved from the DB MySQL IS there any php class or function that does fuzzy searching on an array of words or at least a link with maybe some useful info's i saw a comment that recommend using PostgreSQL and it's fuzzy searching capability but the company had already a MySQL DB Is there any recommendation ?? 回答1: Look at the Levenshtein