I am trying to find easier and simple way to code a logic.
That is if one variable is equal to any key values in an array.
For instance:
$someArray = array("a","b","c");
If($_GET["foobar"] == $someArray) {
return true;
} else {
return false;
}
If the $_GET["foobar"] had a value of A, B, or C, the case would return true. If it was any other values, it would return false.
Thanks for the help.