title: Php - multiple domains in one $url statement not working
body: <p>so i'm trying to get the following working</p>
  
  <pre><code>&lt;?php
  $url = $_SERVER['SERVER_NAME'];
  
  if ($url == url1.com or url2.com) {
      echo '';
  } else {
      echo '';
  }
  ?&gt;
  </code></pre>
  
  <p>if i use just one domain name it works twice, if I use more than one separate by or or || then it matches the rule whatever the domain is (e.g. url3.com will load up everything in the first if statement despite it not matching either domain. What is the correct way to do this then?</p>