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 Quote 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? Quote 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 Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.