0

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.

1
Contributor
1
Reply
2
Views
6 Years
Discussion Span
Last Post by xylude
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.