[PHP Code > PHP Submit Form]

Submit Button Form

Picture of me and my dog

This demo shows how to create a multi-step form using simple Submit Buttons for Navigation. Please observe that each time you click a Submit Button the page refreshes. This means you are causing the page to reload and the contents shown are determined by the value of the Submit Button as it passes between pages via the $_POST array and then though a switch() statement.

This is "Page" One

Contents of page one. Etiam gothica laoreet nulla commodo liber. Me commodo amet liber quis vel. Gothica eleifend enim legentis typi tincidunt. Feugiat et et ullamcorper aliquam elit. Parum vel feugait feugait gothica tation.


Please note: I have NOT included HTML labels for input statements. This was done to simplify the code and concept. If you are going to create forms for your websites, then you should also use labels to identify the HTML controls for the disabled. Please review the demos provided -- these show lables for all input controls requiring user action.

You may use the following script as you need without any obligation to me whatsoever. However, a Donation via PayPal would be greatly appreciated -- please note, this site does not accept advertising.


Here's the PHP/HTML code for the Submit Button:

00