title: Get values from DB field into an array with PHP
body: <p>I have a field in my DB that holds value separated by commas like;</p>
  
  <pre><code>$tmp_list = "COB,ISJ,NSJ,"
  </code></pre>
  
  <p>Now when I fetch that the row, I would like to have them in an array. 
  I have used <code>array($tmp_list)</code> but I get the values in one line only like:</p>
  
  <pre><code>[0] =&gt; 'COB,ISJ,NSJ,'
  </code></pre>
  
  <p>instead of</p>
  
  <pre><code>[0] =&gt; 'COB',
  [1] =&gt; 'ISJ',
  [2] =&gt; 'NSJ'
  </code></pre>
  
  <p>All help is appriciated.</p>