<? $spices = array("A", "B", "C", "D", "E"); reset ($spices); while ( list ($key, $val) = each ($spices) ) : print "$val <br>"; endwhile; ?>