Searching for duplicates is case sensitive?

I want to allow a ‘Title’ field to be unique within my datbase. For example is a datbase entry with a title ‘My first post’ exists, another entry with the title of ‘My first post’ cannot exist.

I am able to search for matches but these are not case sensitive, so i get a false match if someone submits a title of ‘my first post’ (with a lower case ‘m’).

Is there any way i can disable case sensitibity for searches?


This may be an interesting read

1 Like