Getting a specific value from array : <p>I have this query on mysql, and i'm getting this array with print_r():</p>

<pre><code>$data = Array ( [2] =&gt; Array ( [0] =&gt; Array ( [sale_order_value_id] =&gt; 3 [sale_order_id] =&gt; 2 [name] =&gt; Comprobante Fiscal [value] =&gt; Consumidor Final [price] =&gt; 0.0000 ) [1] =&gt; Array ( [sale_order_value_id] =&gt; 4 [sale_order_id] =&gt; 2 [name] =&gt; RNC / Cédula [value] =&gt; 00111936266 [price] =&gt; 0.0000 ) ) )
</code></pre>

<p>I want to extract just the [name] from $data for each input, i have tried explode() to separate the values but that does not help.</p>
