OverviewGoal of this tutorial (a set of lessons)Get you to the point where you can create your own working Request Info forms in PHP. Why I created thisOne of THE first things that I found I needed on any of my customers websites was a Request Info form. I find that having a problem to solve and then creating the code for the solution is a great way to learn a language. But, I had difficulty with many of the forms examples as they are way too complex and the coding is way too clever. Here we start off with the simplest form and grow into the complex and clever. The LessonsWhy the silly numbering scheme for the lessons? Because I haven't thought through the entire syllabus. Therefore, I may want to insert a lesson between two existing ones. So, I thought I would leave some space. Lesson 00
Lesson 02
Lesson 07
Lesson 10
Lesson 11
Lesson 12
Lesson 15
Lesson 17
Lesson 18
Lesson 20
Lesson 22
Lesson 23
Lesson 25
Lesson 30
Lesson 32
My BackgroundPHP is my second website backend processing language. When I began building websites in 1995, I used whatever CGI script was available on the webserver. This meant simple forms where the input was emailed to a single recipient. Then, of course, my customers wanted just a few changes to their forms and that led me to examine the Perl code that controlled the backend processing. After making slight modifications to Perl code, I realized that major changes were going to be very difficult. One thing I noticed about every Perl script that I looked at was that the code was cryptic and not commented at all. Luckily, in 1998, I discovered HTML/OS from Aestiva. This language looked like BASIC and came with an integrated database. It made creating custom forms very easy. I still use HTML/OS today for over a dozen websites. While I have found HTML/OS to be very powerful and easy-to-use, I noticed that PHP was getting all the press. So, I decided to learn PHP by creating a Request Info form. I have been programming for 43 years. Almost 100% in Procedural languages and not Object-Oriented languages. My coding style will reflect that heritage.
|