create folders by using a loop

Please publish the code you have so far so that we can be specific. For future reference you really need to explain fully what you are trying to achieve and what you have done so far when you ask for help.