title: Convert associative array to key=>value
body: <p>I have the following array</p>
  
  <pre><code>Array
  (
      [0] =&gt; Array
          (
              [id] =&gt; 5
              [name] =&gt; 44
          )
  
      [1] =&gt; Array
          (
              [id] =&gt; 9
              [name] =&gt; 55
          )
  
  )
  </code></pre>
  
  <p>i need to convert it to</p>
  
  <pre><code>array( '5' =&gt; '44', '9' =&gt; '55' ) 
  </code></pre>
  
  <p>i tried all function of arrays from php.net but i could not figure out how to do it</p>