One-based array index $arr = array( 1 => "1st", "2nd", "3rd", "4th", "5th" ); for( $i = 1; $i <= sizeof($arr); $i++ ) { echo("Position $i - Element value: $arr[$i]"); } ?>