I have a comparison of 2 variables in a script, and am not getting the desired results, and wondered what the simplest comparison would be to obtain those results...
$username='TestName';
$user='testname';
if ($username==$user){
print "This is the result I want." ;
}else{
print "This isn't the result I want." ;
}
How do I do the comparison and have it disregard the upper/lower case issue?