Ver original$arreglo[]="1";$arreglo[]="4";$arreglo[]="2"; foreach ($arreglo as $id => $valor){echo $id." su valor es ".$valor;}