title: How to use single quote separated values from an array in a string prepared by using implode?
body: <p>I've following array called <code>$user_id_arr</code></p>
  
  <pre><code>Array
  (
      [0] =&gt; 92ecd33db4ddcdc28e025cae80f00208
      [1] =&gt; 9def02e6337b888d6dbe5617a172c18d
      [2] =&gt; a6d22e4cc3f65778a60b359842bcec82
  )
  </code></pre>
  
  <p>Now I want a string containing above array values but each array value should be enclosed in single quotes. For it I tried following code but not succeed.</p>
  
  <pre><code>$user_ids = implode(",", $user_id_arr);
  </code></pre>
  
  <p>I'm getting following array:</p>
  
  <pre><code>92ecd33db4ddcdc28e025cae80f00208,9def02e6337b888d6dbe5617a172c18d,a6d22e4cc3f65778a60b359842bcec82
  </code></pre>
  
  <p>Can anyone please help me in this regard please? I want the desired array in following format:</p>
  
  <pre><code>'92ecd33db4ddcdc28e025cae80f00208','9def02e6337b888d6dbe5617a172c18d','a6d22e4cc3f65778a60b359842bcec82'
  </code></pre>
  
  <p>Thanks in advance.</p>