11.5. Form Handling

Building HTML forms by hand is straightforward, but as your demands grow and you need to do input validation, forms that span across multiple pages, or want to use templates, you are better off using a form generator.

HTML_QuickForm is a PEAR package that offers form handling. HTML_QuickForm lets you set up validation rules that are executed on the client or server side, and it integrates with several template systems.

11.5.1. HTML_QuickForm

One of the most common reasons for starting to use a web-scripting language such as PHP is to be able to process online forms. A lot has happened since the <ISINDEX> and <FORM> tags. With form builders such as HTML_QuickForm, managing sites that use forms extensively becomes much easier. ...

Get PHP 5 Power Programming 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.