Ver original$count = 0;foreach($ua as $d){ foreach($d as $datos){ echo $datos["pk_audit"]; break; } $count++; if($count == 3){ break; }}