Am I bloating my coding with IF statements?
<p>I was wondering, do too many IF statements bloat coding and when is it okay not to use them?</p>

<p>These two examples both work the same and I'm the only one editing / using the script. Am I teaching myself bad habits by not adding the IF statement?</p>

<pre><code>if ($en['mm_place']) {
    $tmp = explode(",", $en['mm_place']);
    $en['mm_place'] = $tmp[0].", ".$tmp[1]." ".$tmp[2];
}
</code></pre>

<p>is the same as...</p>

<pre><code>$tmp = explode(",", $en['mm_place']);
$en['mm_place'] = $tmp[0].", ".$tmp[1]." ".$tmp[2];
</code></pre>

<p><strong>EDIT: using @Francis Avila example I came up with this...</strong> </p>

<pre><code>if ($en['mm_wmeet']) {
    $tmp = explode(",", $en['mm_wmeet']);
    for ($i = 0; $i &lt; count($tmp); $i++) {
        $en['mm_wmeet'] = $tmp[$i];
    }
}
</code></pre>
