title: how to create dynamic string in php like sample?
body: <p>hi i want to create string in laravel with foreach and that string must be like this sample:</p>
  
  <pre><code>'item1,item2,item3'
  </code></pre>
  
  <p><strong>Pay attention to commas and quotation marks.</strong></p>
  
  <p>anyone can help me?</p>