php email form validation?

  • Thread starter Thread starter Peter C
  • Start date Start date
P

Peter C

Guest
I'm using a php script that validates an email form. When the form is submitted it goes to a php page with a validation script, that generates a successful submission or an error message with a "click on browser back button." I would prefer that if it encounters a problem that it would stay on the form page and highlight the problem fields.

Can someone point me to an existing php script or outline the basic methods to achieve this.
This is the script I'm using now
http://www.ibdhost.com/contact/

This is an example of how I'd like it to work
http://www.whitehouse.gov/CONTACT/
 
Back
Top