Quick and Clean PHP Forms:
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.

Reading: Quick and Clean PHP FormsTweet This