How to avoid duplicate entries without being case-sensitive?
If somebody inputs "Blue" and "Blue" already exists in the database, I don't insert the new input to avoid duplicates.
However, if somebody inputs "BlUe", my query to check if the input already exists returns false and it is inserted.
Without apply strict formatting, ie: capitalizing the first letter of each word and lowercasing the rest, is there a better way to do this?