title: Exclude multiple values in if clause
body: <p>I have 30 sites and I need to echo something on 24 of them. How can I exclude the others? This code doesn't work cause i think it's logic is faux:)</p>
  
  <pre><code>$currentsite = get_bloginfo('wpurl'); // Here i get the curent site.
  </code></pre>
  
  <p>If the current site matches any of the 6 below, the if clause should not run.</p>
  
  <pre><code>if ( $currentsite != 'site 1' || 
  
  $currentsite != 'site1' || 
  
  $currentsite != 'site2'|| 
  
  $currentsite != 'site3' || 
  
  $currentsite != 'site4' ||
  
  $currentsite != 'site5' ) {
  
  do something
  }
  </code></pre>