in_array or equal to 'x'
<p>How can I check if a user belongs to a group in an array or their username ($un) is equal to 'X'. (failing that, I guess I could make it 2 separate checks)</p>

<p>I have the following but it gives me an 'unexpected OR' error:</p>

<pre><code>&lt;?php if (in_array('SMT', $adGroups)) or ($un == 'abc' || $un == 'xyz') echo 'blah'; ?&gt;
</code></pre>

<p>Thanks ..</p>
