I have this query on mysql, and i'm getting this array with print_r():
$data = Array ( [2] => Array ( [0] => Array ( [sale_order_value_id] => 3 [sale_order_id] => 2 [name] => Comprobante Fiscal [value] => Consumidor Final [price] => 0.0000 ) [1] => Array ( [sale_order_value_id] => 4 [sale_order_id] => 2 [name] => RNC / Cédula [value] => 00111936266 [price] => 0.0000 ) ) )
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.