title: How to merge lines of CSV in PHP
body: <p>I have a CSV file that looks something like:</p>
  
  <blockquote>
    <p>Andrew Smith, andy@hotmail.co.uk, Manchester, UK <br /> Martin Jones,
    martin@gmail.com, Reading, UK <br />
    <strong><em>Shirley Andrews, , Los Angeles,</em>  <br />
    <em>Bob James, bobjames@yahoo.com, ,</em></strong>  <br /> Jacob Costelloe, jc@email.com, Sydney, Australia <br />
    <strong><em>Shirley Andrews, shirley@mail.com, , US</em></strong> <br /> Callum Jones, callumjjones@btinternet.com, Paris, France <br />
    <strong><em>Bob James, , London, UK</em></strong></p>
  </blockquote>
  
  <p>Based on the first column (name), I need to merge the data, so returned from this I would get:</p>
  
  <blockquote>
    <p>Andrew Smith, andy@hotmail.co.uk, Manchester, UK <br /> Martin Jones,
    martin@gmail.com, Reading, UK <br />
    <strong><em>Bob James, bobjames@yahoo.com, London, UK</em></strong>  <br /> Jacob Costelloe, jc@email.com, Sydney, Australia <br />
    <strong><em>Shirley Andrews, shirley@mail.com, Los Angeles, US</em></strong> <br /> Callum Jones, callumjjones@btinternet.com, Paris, France</p>
  </blockquote>
  
  <p>Is there a simple way to do this in PHP?</p>