Textarea into an array or implode?
<p>Say I have a text area, user enters information exactly like styled below:</p>

<pre><code>Ice cream
Chocolate
</code></pre>

<p>then submits this information, I want to retrieve the information EXACTLY like so:</p>

<pre><code>Ice cream, Chocolate
</code></pre>

<p>Is this the best way to do it:</p>

<pre><code>$arr = explode("\n", $var);
$arr = implode(",", $arr);
</code></pre>

<p>When doing it like this, it puts the information out like so:</p>

<pre><code>Ice cream , Chocolate
</code></pre>

<p>Note the space after cream, will a simple <code>trim()</code> fix this?</p>
