I need my code to spot two conditions on is if the url ends in 'easy' and the other if the url ends in a question mark. My if statement looks like this:
if (in_array(basename($_SERVER["REQUEST_URI"]), array("easy","?"))) { . . . }
This catches 'easy' but not '?'. How can I get it to spot the question mark as well?