title: Separator after the last item imploded PHP
body: <p>I would like to know how can i make my implode() looks like </p>
  
  <pre><code>name1, name2, name3,
  </code></pre>
  
  <p>this is my code </p>
  
  <pre><code>if (!empty($datas)) {
    echo implode('&lt;i class="fas fa-check-circle" style="color:green;font-size:20px;margin-bottom: 0px !important;float:right;" &gt;&lt;/i&gt;&lt;br&gt; ', $datas);;
  }
  </code></pre>
  
  <p>basically i want to add the separator to the last item too</p>