title: Create flat array of individual values from rows of comma-separated values fetched from a database table
body: <p>Please help me to create an array from a field of my DB. That field has records separated by comma. Below is the illustration:</p>
  
  <pre><code>ID | article_title_fld         | article_tags_fld                     |
  ----------------------------------------------------------------------
  1  | Learn PHP                 | PHP, coding, scripting               |
  3  | Javascript Tutorial       | Javascript, scripting, tutorial      |
  4  | Styling with CSS          | CSS, tutorial, web design            |
  </code></pre>
  
  <p>I want to collect all records in the <strong>article_tags_fld</strong> then put it into 1 array. Perhaps I named it <strong>$array1</strong>, and the print out as below:</p>
  
  <pre><code>Array
  (
  [0] =&gt; PHP
  [1] =&gt; coding
  [2] =&gt; scripting
  [3] =&gt; Javascript
  [4] =&gt; scripting
  [5] =&gt; tutorial
  [6] =&gt; CSS
  [7] =&gt; tutorial
  [8] =&gt; web design
  )
  </code></pre>