I have a php page. There are music names (they are in array). I want to make a search script. This script must find what someone writes. But if user made mistake while writing, it must find similar music names. Is this possible, or I must use mysql?
You're trying to make something like Google Suggest.
Perhaps, you will use/need functions such as similar_text(), levenshtein(), soundex() and metaphone(). You can read about these functions ofc in official php-manual.