title: Using multiple values with strstr($_SERVER['PHP_SELF']...)
body: <p>another simple thing that's got me stuck:</p>
  
  <p>I'm using the following to check on the current url and select a div class dependent on the result:</p>
  
  <pre><code>$checkit = $_SERVER['PHP_SELF'];
  ... 
  &lt;li "; if(strstr($checkit,'welcome')) { echo "class='active_tab'"; }...
  </code></pre>
  
  <p>What I want to be able to do is also check if the url includes other words which would also require that same 'li' item to be given the 'active_tab' class, but i can't figure out the format. Something like this, although obviously this doesn't work:</p>
  
  <pre><code>&lt;li "; if(strstr($checkit,'welcome', 'home', 'yourprofile')) { echo "class='active_tab'"; }...
  </code></pre>
  
  <p>Can someone help?</p>