title: php get only values from an array
body: <p>This is a very basic quesion i know but im facing difficulties. I have an array like this:</p>
  
  <pre><code>Array
  (
  [0] =&gt; Array
      (
          [id] =&gt; 10772
      )
  
  [1] =&gt; Array
      (
          [id] =&gt; 10775
      )
  
  )
  </code></pre>
  
  <p>or you can say:</p>
  
  <pre><code>array(12) {
  [0]=&gt; array(1) { ["id"]=&gt; int(10772) } [1]=&gt; array(1) { ["id"]=&gt; int(10775) }
  </code></pre>
  
  <p>but i need only the value in a string format like:</p>
  
  <pre><code>"10772,10775" or array("10772", "10775") 
  </code></pre>
  
  <p>how can i achieve that. </p>