I've got some issues with non-latin characters.
Query:
SELECT * FROM table WHERE name LIKE '%{$phrase}%'
PHP:
$phrase = $_POST['phrase'];
//$phrase = strtolower/strtoupper($_POST['phrase']) made no differece
Demo database:
Asomething (in the db stored as Asomething)
asomething (in the db stored as asomething)
Äsomething (in the db stored as Äsomething)
äsomething (in the db stored as äsomething)
Either I type a or A, I get what I want - both of results, but... if I type Ä, I get only one result containing uppercase. How can I get both of them?
Edited: I use collation utf8_general_ci