How to use multiple URLs in PHP REQUEST_URI statement?
<p>Here is my code...</p>

<pre><code>if($_SERVER['REQUEST_URI'] == '/shop/category/handheld-thermal-imaging/')
{
echo
'&lt;div class="current-mark"&gt;&lt;/div&gt;&lt;div class="top-level"&gt;&lt;a href="/shop/category/handheld-thermal-imaging/"&gt;HANDHELD&lt;br /&gt;THERMAL IMAGING&lt;/a&gt;&lt;/div&gt;';
} 

else if($_SERVER['REQUEST_URI'] == '/shop/category/mobile-imaging/')
{
echo
'&lt;div class="current-mark"&gt;&lt;/div&gt;&lt;div class="top-level"&gt;&lt;a href="/shop/category/mobile-imaging/"&gt;MOBILE IMAGING&lt;/a&gt;&lt;/div&gt;';
}
</code></pre>

<p>Basically this code displays a different left side site navigation depending on which page you're on in the site. It detects what page you're on by the URL of the page by using the PHP REQUEST_URI feature.</p>

<p>My question is this, how can I make the code detect multiple URLs for the same navigation piece?</p>

<p>I tried this code...</p>

<pre><code>if($_SERVER['REQUEST_URI'] == '/shop/category/handheld-thermal-imaging/' , '/shop/iphone-thermal-imaging-adapter/')
{
</code></pre>

<p>But that code doesn't seem to work. Basically all I'm trying to figure out here is how I can use multiple URLs for the REQUEST_URI 'if' statement. Thanks in advance!</p>
