<?php $_POST = [ 'data' => [ 'row_3' => [ 'viagem' => [ 'veiculo_id' => '1', 'motorista_id' => '1', 'data' => '2019-06-05', 'destino' => 'A', 'vrUnit' => '', 'horaSaida' => '00:00:00', ] ] ] ]; echo $_POST['data']['row_3']['viagem']['destino']; echo "\n---\n"; $rowKey = key($_POST['data']); // no need to generate an entire temporary array of keys echo $_POST['data'][$rowKey]['viagem']['destino'];
You have javascript disabled. You will not be able to edit any code.
Value for `_results` contains invalid data `array`