The Validate_fields Class is an easy-to-use form
field validation PHP script. This class can be
used to validate database inputs or mail forms. It
can validate simple text, numbers, dates, urls,
email addresses, and the presence of HTML tags.
Invalid form fields will be reported inside a
detailed error message.