Linux Today: Linux News On Internet Time.

Quick and Clean PHP Forms

Sep 17, 2007, 09:00 (0 Talkback[s])
(Other stories by Adam Smith)

"As its name suggests, the PHP Extension and Application Repository (PEAR) library called HTML_QuickForm can be used to quickly and cleanly to produce validating HTML forms, relieving the developer of the tedium that often accompanies such tasks. HTML_QuickForm provides developers with a declarative approach to defining form fields and their associated validation rules and automatically generates the necessary HTML and JavaScript code needed to display the form accordingly. HTML_QuickForm also automatically validates submitted forms as indicated and allows developers to define a function that further handles valid submissions.

"This tutorial presents a basic implementation of HTML_QuickForm to produce a common email contact form and explores ways to get the most from this powerful library..."

Complete Story

Related Story:
O'Reilly Network: PHP With HTML Forms(Dec 03, 2000)