Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

case sensitivity off

Featured Replies

Hello,

 

I am using the mysql in boolean mode for the boolean search on a website but there is a slight problem,

 

when i search "good" for example it will only find "good" in the fields its searching in, so if someone put "Good" on the profile then it wouldnt find them because its got a capital letter

 

how can i do it so its not case sensitive?

 

anyhelp would be great :D

 

Gary

Hello,

 

I am using the mysql in boolean mode for the boolean search on a website but there is a slight problem,

 

when i search "good" for example it will only find "good" in the fields its searching in, so if someone put "Good" on the profile then it wouldnt find them because its got a capital letter

 

how can i do it so its not case sensitive?

 

anyhelp would be great :D

 

Gary

Make search strings lower case using strtolower, or make ur own function to do this

 

function make_lower($a){
$upper = array("A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P");
$lower = array("a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p");
return str_replace($upper,$lower,$a);
}

 

does not have all the letters in my example but like i said just an example

Edited by webdesigner93

Just use strtolower().

 

$string = 'Good';
echo strtolower($string); // returns good

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.