[Solved] how to convert compare two lowercase strings in php [duplicate]


Use:
$lowerGender=strtolower($gender); $lowerUgenderSeek=strtolower($UgenderSeek);

if(($lowerUgenderSeek==”both” && ($lowerGender==’male’||$lowerGender==’female’)) || $lowerGender==$lowerUgenderSeek)

solved how to convert compare two lowercase strings in php [duplicate]