How can I remove all empty values when I explode a string using PHP?
<p>I was wondering how can I remove all empty values when I explode a string using PHP for example, lets say a user enters <code>",jay,john,,,bill,glenn,,,"</code>?</p>

<p>Thanks in advance for the help.</p>

<p>Here is part of the code that explodes user submitted values.</p>

<pre><code>$tags = explode(",", $_POST['tag']);
</code></pre>
