Question:
if ("sometext" == "SOMEtext") {
echo "TRUE";
} else {
echo "FALSE";
}
It is return me FALSE, when I use double equal.
The only diference are the capital leters...
This if should return TRUE ????
Question:
if ("sometext" == "SOMEtext") {
echo "TRUE";
} else {
echo "FALSE";
}
It is return me FALSE, when I use double equal.
The only diference are the capital leters...
This if should return TRUE ????
You can use strtolower("somestring") in order to compare 2 strings without account for case sensitivity