Your Help Group

how to compare two string but not consider uppercase and lowercase in php

Now I discuss one problem that I faced. I want to compare two strings but doesn't consider an uppercase and lowercase letter. one of the best solution for this used strcasecmp() 

function in PHP. this is an inbuilt function in PHP to compare two strings by ignoring any uppercase letter and lowercase letter.

Code Block Example