title: How to get all the key in multi-dimensional array in php
body: <pre><code>Array
  (
      [0] =&gt; Array
          (
              [name] =&gt; A
              [id] =&gt; 1
              [phone] =&gt; 416-23-55
              [Base] =&gt; Array
                  (
                      [city] =&gt; toronto
                  )
  
              [EBase] =&gt; Array
                  (
                      [city] =&gt; North York                
                  )
  
              [Qty] =&gt; 1
          )
  
  (
      [1] =&gt; Array
          (
              [name] =&gt; A
              [id] =&gt; 1
              [phone] =&gt; 416-53-66
              [Base] =&gt; Array
                  (
                      [city] =&gt; qing
                  )
  
              [EBase] =&gt; Array
                  (
                      [city] =&gt; chong                
                  )
  
              [Qty] =&gt; 2
          )
  
  )
  </code></pre>
  
  <p>How can I get the all the key value with the format "0, name, id, phone, Base, city, Ebase, Qty"?</p>
  
  <p>Thank you!</p>