Multiple comparison operators for one variable?
<p>I need to do multiple checks for a variable. I've seen an "Equals" example, here: <a href="http://www.w3schools.com/php/php_operators.asp" rel="nofollow">w3schools</a>.
But they are two different variables. Right now I have:</p>

<pre><code>if ($color == 'blue')
{
//do something
}
</code></pre>

<p>But I need to to multiple checks for $color. Eg if it equals red or green too. How is this written?</p>
