How can i check to see if a specific integer is within array?
<p>Is there a specific way to check for a specific integer within a switch statment. </p>

<p>For example. </p>

<pre><code>$user = $ads[$i]-&gt;from_user;
</code></pre>

<p>To check for the number 2 as $i in the above expression.</p>
