search certain characters in an if statement
<p>.what i want to do is search for certain Initials inside a retrieved record from a database. for example i have a record like this.. "SGA, MNFA, JGA" how do I code an If statement that will search if SGA is present inside the record. If it is found then proceed, if not, then an else statement will be performed.</p>

<p>sample:</p>

<pre><code>if($x == "what is the code needed to be placed here to search if SGA is present?")
{
    .some code..
}
else
{
    .some code..
}
</code></pre>

<p>.TIA guys! More power!</p>
