2010 | OriginalPaper | Buchkapitel
Working with HTML Forms
Erschienen in: Beginning PHP and MySQL
Verlag: Apress
Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.
Wählen Sie Textabschnitte aus um mit Künstlicher Intelligenz passenden Patente zu finden. powered by
Markieren Sie Textabschnitte, um KI-gestützt weitere passende Inhalte zu finden. powered by
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 components
Take advantage of PEAR: the HTML_QuickForm2 package