smerny Posted September 21, 2009 Share Posted September 21, 2009 Let's say I have a variable $name and I want to search the name field of the database to see if $name already exists... case insensitive so if the database contains "Bill" and $name == "bill" or "BILL" or even "biLL"... it would return a row Link to comment https://forums.phpfreaks.com/topic/175015-solved-case-insensitive-sql-search/ Share on other sites More sharing options...
Maq Posted September 21, 2009 Share Posted September 21, 2009 The default character set is case insensitive. What character set are you using? Link to comment https://forums.phpfreaks.com/topic/175015-solved-case-insensitive-sql-search/#findComment-922383 Share on other sites More sharing options...
smerny Posted September 21, 2009 Author Share Posted September 21, 2009 nevermind, sorry, asked before experimenting Link to comment https://forums.phpfreaks.com/topic/175015-solved-case-insensitive-sql-search/#findComment-922404 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.