title: PHP echo implode with single along with coma
body: <p>i am trying to add a single coat along with the coma in my below code and display the data as mentioned below (Expected  output)but iam unable to add  single coat along with coma.</p>
  
  <pre><code>   $query ="SELECT * FROM abc WHERE  xyz='xyz' And Standard='xyz' ";
          $data=mysqli_query($mysqli,$query)or die(mysqli_error());
          $ID = array();
          while($row=mysqli_fetch_array($data)){
              $ID[] = $row['ID'];
  
  
      }
      $IDall = implode(',', $ID);
  
  
      echo $IDall;
  </code></pre>
  
  <p>Current output</p>
  
  <pre><code>13,13K,043
  </code></pre>
  
  <p>Expected output</p>
  
  <pre><code>'13','13K','043'
  </code></pre>