I am running the following code:

if(is_array($check)) {
                foreach($check as $val) {
                    if($_SERVER['PHP_SELF']==$val) {
                        $show = false;
                        break;
                    } else {
                        echo "<p>".$_SERVER['PHP_SELF']."!=".trim($val)."</p>";
                    }
                }
            }

And I am getting the following output:

/client/scheduled.php!=/client/scheduled.php

Hopefully it's not something dumb on my part, I appreciate any advice.

Aaaand it was something dumb on my part...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.