I want to loop thorgh a piece of code a set number of times as specified from a cgi variable. reading the documentation i cannot work out how to do this. I have a form on the previous page that a user specifies an integer. On the next page i want to loop though a piece of code n times where n is the integer set on the previous page Any Help?