SyntaxFix
Write A Post
Hire A Developer
Questions
You can make use of in_array() in PHP.
in_array()
$os = array("uk", "us"); // You can set multiple check conditions here if (in_array("uk", $os)) //Founds a match ! { echo "Got you"; }