If statement with OR and isset Operator?
<p>I'm working with two variables.  A session variable and a user variable.</p>

<p>I want my system to work like this: </p>

<p><code>if ($TicketArray['PostName'] !== $Username) { die("") }</code></p>

<p>but I want this to be overridden when <code>$_SESSION['Administration']</code> is isset. So I've come up with this: </p>

<pre><code>if ($TicketArray['PostName'] !== $Username OR (!isset($_SESSION['Administration'])))
{
 die("");
}
</code></pre>

<p>But this kills the script when username does equal the postname, and whether the session for administration is set.. How would i construct a if statement which contains the following:</p>

<p>Does not equal to </p>

<p>or</p>

<p>is not set </p>

<p>OR
if Postname does not equal to the $Username but the $_SESSION['Administration']; isset; the person with the set session can view the ticket? </p>
