parsing items by line and comma php
<p>i have a textarea on the page. user will type items by lines and comma.</p>

<p>for example,</p>

<pre><code>data1, data1info
data2, data2info
data3, data3info
</code></pre>

<p>there are 2 item per line. </p>

<p>how can i parse them per line and get items per line individually.</p>

<p>thnx</p>
