Php or use with if statements
<p>Hey guys so i have a decent understanding of php but i cant get this to work and i know im not using it right but what i need it to do is verify that the user exists from two different sessions but not necessarily be in both on or the other type of thing. With that heres the code.</p>

<pre><code>&lt;?php session_start(); 
include('../../phpconfig/connect.php'); 
if(!session_is_registered(premiersounds_username)) || if(!session_is_registered(user)) {header("location:http://psdjs.co/login%20system/index.php?error=PLEASE LOGIN TO VEIW EVENTS!");}?&gt;
</code></pre>
