The For Loop is not only the most important and widely used loop in all modern computer languages, but perhaps the most cleverly invented. The only thing that’s a little confusing for the novice programmer is that the order of execution is not as you see.

Here’s the typical syntax…

Using HTML5’s “formaction” attribute, you can have an unlimited number of Submit buttons in a Web form and have each button link to a different destination.

Here’s an example:

<h2>Form with multiple submit buttons:</h2><form action=”process_main.php” method=”get”>
First name: <input type=”text” id=”fname” name=”fname”>…

Christian Hur

Web Instructor and Facilitator. Author for LinkedIn, Packt, MC Press.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store