php - Sql ignore utf-8 upper or low case while search -


i have added search function on website. if search "öüa" shows me "öüä" , ignores words "Öüä" (where 1 of letters uppercase).

$news = db::getinstance()->query("select * news title '%{$keywords}%' order time desc"); 

i have tried add collate sql_latin1_general_cp1_ci_as like problem persists. upper , lower didn't solve problem either..


Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -