O'Reilly logo

HTML5 and CSS3: Visual QuickStart Guide, Seventh Edition by Bruce Hyslop, Elizabeth Castro

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Processing Forms

A form gathers the information from your visitor, and the script processes that information. The script can log the information to a database on the server, send the information via email, or perform any number of other functions.

In this chapter, since the focus is on creating Web forms, we’ll use a very simple PHP script to echo the data back to the visitor when they fill out and submit a form Image. I’ll also give you a script that you can use to submit a form’s contents to your email address Image.

Here is the script used to process the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required