Hi Hawk,

> I've never really payed attention to this before, 
> but now I noticed that == is case-sensitive, how 
> do I make it == with different "cases" ?

Just force the case while you're comparing the two:

if (strtolower($a) == strtolower($b)) {
  echo "case-insensitive match";
} else {
  echo "no match";


PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to