$capitals = array("Ohio" => "Columbus", "Iowa" => "Des Moines","Arizona" => "Phoenix"); echo "Can you name the capitals of these states?"; while($key = key($capitals)) { echo $key.""; next($capitals); }?>
Can you name the capitals of these states?