Very basic PHP - IF AND IF...?
<p>My current code is as follows:</p>

<pre><code>if ( ( $status == 'active' ) || 
     ( $status == 'full' ) ) {
</code></pre>

<p>I need to also include an AND statement. So if $status is either full or active AND $position matches 'need photo' or 'completed' then it displays. How do I include an AND statement?</p>

<p>I tried the following but it didn't seem to work:</p>

<pre><code>if ( ( $status == 'active' ) || 
     ( $status == 'full' ) &amp;&amp; 
     ( $position == 'need photo' ) || 
     ( ( $position == 'completed' ) ) {
</code></pre>

<p>Any help? Thank you! :-) I'm fairly new to all of this. I tried Google but couldn't find a clear answer.</p>
