PHP: Splitting by ", " and show
<pre><code>$number = 1;
$number2 = "2, 3, 4";
     $searchstatus = array(" - ", "f1", "f2", "f3", "f4");
</code></pre>

<p>I have this array. </p>

<p>$number2 is like how its stored in the database. </p>

<p>How can i split them up by <code>", "</code> if theres more than 1(like $number) and make a echo ouput that says:</p>

<p><code>f2 and then f3 and then f4</code></p>

<p>(values to 2, 3, 4)</p>

<p>So if its $number just echo "f1" , if theres more than 1 "entry" like $number2, echo like above^</p>
