![]() |
| |||||||
| Mysql Forum Mysql Forum |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
| |||
| PHP/MySQL case question?
in my search engine script, i have the "select * from table1 where column1 like %$_POST[search]% or column2 like etc". But when i conduct the search, things appear to be case sensitive. For example, when searching for date, e.g. June, if i typed june, i couldn't find anything, only if i typed June. i could use the "strtoupper" function like: $_POST[search]=strtoupper($_POST[search]); before the query above, and then search all in CAPS? any other solutions which will make things case insensitive? or put differently: how do you make a query result case insensitive? |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| MySQL question< can you help? | Timbuktu | Mysql Forum | 1 | 09-09-2008 06:17 AM |
| MySql decode or select case? | Lukene | Mysql Forum | 0 | 09-06-2008 12:54 AM |
| PHP, Mysql question. How can I list the most recent entries in a mysql database | -- JuliuS -- d | Mysql Forum | 0 | 09-05-2008 11:56 PM |
| question about mysql? | feqaf w | Mysql Forum | 0 | 08-24-2008 04:52 PM |
| MySQL question...? | Justin H | Mysql Forum | 0 | 08-24-2008 04:22 PM |