title: Multidimensional Array Implode
body: <p>Here is an example format of the multidimensional array I'm dealing with:</p>
  
  <pre><code> Array ( 
      [1] =&gt; Array ( [code] =&gt; PPJ3 [street] =&gt; 34412 Fake Street [city] =&gt; Detroit [state] =&gt; MI [zip] =&gt; 48223 [county] =&gt; Wayne [cost] =&gt; 432.00 ) 
  
      [2] =&gt; Array ( [code] =&gt; PLK3 [street] =&gt; 73517 Fake Street [city] =&gt; Detroit [state] =&gt; MI [zip] =&gt; 48223 [county] =&gt; Wayne [cost] =&gt; 54.00 ) 
  
      [3] =&gt; Array ( [code] =&gt; HYK2 [street] =&gt; 55224 Fake Street [city] =&gt; Detroit [state] =&gt; MI [zip] =&gt; 48208 [county] =&gt; Wayne [cost] =&gt; 345.00 ) 
   )
  </code></pre>
  
  <p>I am trying to set a hidden field to only the code values and have it comma separated. The array would also need to be looped through because it will always change.
  This is what I would like for it to look like:</p>
  
  <p>$myHiddenField = PPJ3, PLK3, HYK2</p>
  
  <p>What is a simple way of coding this?</p>