title: How to convert items in array to a comma separated string in PHP?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/2435216/how-to-create-comma-separated-list-from-array-in-php">How to create comma separated list from array in PHP?</a>  </p>
  </blockquote>
  
  
  
  <p>Given this array:</p>
  
  <pre><code>$tags = array('tag1','tag2','tag3','tag4','...');
  </code></pre>
  
  <p>How do I generate this string (using PHP):</p>
  
  <pre><code>$tags = 'tag1, tag2, tag3, tag4, ...';
  </code></pre>