HomeAboutWeb DesignGraphicDesignPresentationContact

ASP Training 101

Using Subroutines Looped: Webitcorp

Using Subroutines Looped


Number of Loops
Input one
Input two

 

The Code

<% Dim iLoop, yloop
yloop=1

%>
<form method="post" action="using-subroutines-looped.asp">
Number of Loops<input type="text" name="yloop" /><br />
Input one
<input type="text" name="yname" /><br />
Input two
<input type="text" name="ysitename" />
<input type="submit" value="Submit" />
</form>
<p>
<%

yname = Request.Form("yname")
ysitename = Request.Form("ysitename")
yloop = Request.Form("yloop")

Sub subHeading
Response.Write("<p align=right>")
Response.Write(yname & "<br />")
Response.Write(ysitename & "<hr />")
End Sub

For iLoop = 1 to yloop

subHeading
Next

%>

 

Home | About | Web Design | Graphic Design | Presentations | Contact | Site Map | del.icio.us+del.icio.us

| Saint Lucie County, Florida | Rockland County, NY | Burgan County, NJ |


Port Saint Lucie Web Development , Graphic Design , Multimedia Presentations , and much more

Valid XHTML 1.0 Transitional

Copyright ©2007

Onenuttyweb.com