or condition in if condition
<p>hi
  i have  condition need  to  be  check</p>

<pre><code>if(staffid!=23||staffid!=24||staffid!=25||staffid!=26||staffid!=27||staffid!=29||staffid!=31)
{
  do the  req  thing ..
}
</code></pre>

<p>right now  i    checking the  condition like   this . 
is their  any better  way  to  write this  condition    </p>

<p>thank  you </p>
