title: Convert result from PDO::fetchAll() to array like
body: <p>I have a list of names from my database.</p>
  
  <p>I'm trying to convert the result from the PDO::fetchAll() function to get a result like a string:</p>
  
  <p>"name1","name2","name3" etc.</p>
  
  <p>I don't know if you know what I mean. </p>
  
  <p>Thank you all for your help!</p>