if ($variable == "a") {
does not include the possible value of ($variable = "A"), so case does matter. How can I check if a variable equals to a specific letter regardless of the case?
Thanks 🙂
if (strtoupper($variable) == "A") {
that will capitalize the letter, or entire string allowing you to do case insensitive compare.
Thank you very much 🙂