Home
This example goes through the complete form process with just one input type (email) so that you get your form created and tested on the most simplest of terms. After that you can build the form by adding form elements one at a time, testing to make sure they work.
For a live sample see: http://rerickso.w3.uvm.edu/php-form/form.php
PHP Fast Track is the text I wrote to go along with the PHP code. For html and css I use HTML & CSS: Design and Build Websites, By: Jon Duckett.
It is important for you to read the comments and study the code to make sure you understand what is going on. Part of the learning process is to understand "How" to build the form. You will notice in the first commit my form has nothing in it really and is just a template to get ready. However I want to make sure that that template works before moving on. The second commit converts my logic flow diagram to comments. The third commit simply sets up the html for the form itself. For each commit I make sure I have that step working before I move on. It is a building process where at the end of each step it is functional. In each case when I make a mistake the amount of code I have to look through is just the small set that I have added. This website will help you find your typos as it can compare my code to yours: https://diffnow.com/
You may wonder why I have so many blank lines in my form and that is so that the line numbers will match up from beginning to end. On each commit I fill in the blanks so to say. I hope it helps you to see where the changes are made each time. Normally you would not have so many.
One word of caution. If you copy and paste you will learn nothing. I suggest you read and type so at least the code goes into your brain and out your fingers.
video channel: Php Form - The videos may need updating but the general concept is still the same.
Mama mihi adulescentem cum venerit sedeo me do not copy this or you will be charged with academic dishonesty unicum filium auscultet quae loquor. Et si hoc proderit tibi futurum apricis die. O vestras tempore non vivunt nimias celeritates, mala venient et transibunt. Invenies mulier, scies amor menta filium quis est sursum. Et simplex qualem quaeso aliquid diligis, et intelligite. Baby sit unica qualem o non feceris mihi fili, si potes. Libido oblivisci divitis aurum totum quod est opus in anima tua. Et possis, o Infans sin omnibus cupio tibi, fili, sit satisfactum.
Et simplex qualem o aliquid diligis, et intelligite. Baby sit unica qualem o non feceris mihi fili, si potes. HEJA ego. Puer, ne solliciti estis, scies corde sequere et nihil aliud. Et possis, o Infans ll sin cupio tibi, fili, sit satisfactum. Et simplex qualem o aliquid diligis, et intelligite. Baby sit unica qualem O uos istud agas fili, si potes. Baby sit simplex, innocens vere o aliquid diligis, et intelligite.