title: Converting a multidimensional array into a single dimensional one
body: <p>If from a function I am returned a multidimensional array like this..</p>
  
  <pre><code>array(0 =&gt; array('a' =&gt; 5), 1 =&gt; array('a' =&gt; 8))
  </code></pre>
  
  <p>But I just really need the contents of the key 'a' what is the best way for me to convert.</p>
  
  <p>Current I have been doing something like..</p>
  
  <pre><code>$new_array = array();
  
  foreach ($multi_array AS $row) {
      $new_array[] = $row['a']
  }
  </code></pre>