not case sensitive query in mysql
        Posted  
        
            by Mac Taylor
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Mac Taylor
        
        
        
        Published on 2010-06-12T13:37:31Z
        Indexed on 
            2010/06/12
            13:43 UTC
        
        
        Read the original article
        Hit count: 217
        
hey guys
i need to query my database and find results :
mysql_query("select * from ".ALU_TABLE." where username like '%$q%' or name like '%$q%'");
if i have a name in my table such as Book and i enter book in search box it wont show the Book
i need to query my database as not to be case sensitive.
© Stack Overflow or respective owner