Abstract
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
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2010 W. Jason Gilmore
About this chapter
Cite this chapter
(2010). Working with HTML Forms. In: Beginning PHP and MySQL. Apress. https://doi.org/10.1007/978-1-4302-3115-8_13
Download citation
DOI: https://doi.org/10.1007/978-1-4302-3115-8_13
Publisher Name: Apress
Print ISBN: 978-1-4302-3114-1
Online ISBN: 978-1-4302-3115-8
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books