3. HTML Forms and PHP

The previous chapter provided a brief introduction to the topic of variables. Although you’ll commonly create your own variables, you’ll also frequently use variables in conjunction with HTML forms. Forms are a fundamental unit of websites, enabling such features as registration and login systems, search capability, and online shopping. Even the simplest site will find logical reasons to incorporate HTML forms. And with PHP, it’s stunningly simple to receive and handle data generated by them.

With that in mind, this chapter will cover the basics of ...

Get PHP for the Web: Visual QuickStart Guide, Fifth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.