title: MySQL group duplicates together
body: <p>I have a MYSQL database which looks like this:</p>
  
  <pre><code> ID      | Name    | Product
   --------+---------+----------
   65644   | Charlie | Beer
   65644   | John    | Beer
   65644   | Jan     | Beer
   65644   | Phoebe  | Beer
   65644   | Shaun   | Beer
  </code></pre>
  
  <p>I would like to output a table using php to look something like this:</p>
  
  <pre><code> ID      |               Name                | Product
   --------+-----------------------------------+----------
   65644   | Charlie, John, Jan, Phoebe, Shaun | Beer
  </code></pre>
  
  <p>Currently I've only been able to output it to look like this first table. Any help would be greatly appreciated.</p>