MySQL Query like not returning correct results

Posted by Herr Kaleun on Stack Overflow See other posts from Stack Overflow or by Herr Kaleun
Published on 2010-06-12T19:23:48Z Indexed on 2010/06/12 19:32 UTC
Read the original article Hit count: 281

Filed under:
|
|

Hello friends,

i've a MySQL query that should return some rows that have the letters Ö or Ü in it but it actually does not.

The query code is this:

$this->db->like('title', $text );

It's PHP CodeIgniter active query.

Lets assume we have 2 rows. 1. Büm 2. Bom

if i search for Bü, the 1. row has to be returned but it does not. When i search for Bo the second row gets returned successfully and when i search for B both rows are returned.

How could i fix this? What may be the underlieng cause?

Thanks for reading.

© Stack Overflow or respective owner

Related posts about mysql

Related posts about mysql-query