Chapter 13. Working with HTML Forms
You can toss around technical terms such as relational database, web services, session handling, and LDAP, but when it comes down to it, you started learning PHP because you wanted to build cool, interactive web sites. After all, one of the web's most alluring aspects is that it's two-way media; the web not only enables you to publish information but also offers an effective means for obtaining input from peers, clients, and friends. This chapter introduces one of the most common ways in which you can use PHP to interact with the user: web forms. In total, I'll show you how to use PHP and web forms to carry out the following tasks:
Pass data from a form to a PHP script
Validate form data
Work with multivalued form ...
Get Beginning PHP and MySQL: From Novice to Professional Fourth 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.