Ver original$contar = 0;foreach($lista as $pre) {foreach ($pre as $id) { if($contar>50) { echo $id."<br>"; } $contar++; } }