Lesson13.Form Validation


Lesson 13. Form Validation

In this lesson you will learn some techniques for validating form input in a user-friendly way.

The principles of validating user-submitted input are fairly straightforward: Just check each item in $_POST in turn and make sure it matches a set of criteria. However, making sure the user is able to correct any mistakes and resubmit the form with a minimum of fuss presents a bit more of a challenge.



    Sams Teach Yourself PHP in 10 Minutes
    Sams Teach Yourself PHP in 10 Minutes
    ISBN: 0672327627
    EAN: 2147483647
    Year: 2005
    Pages: 151
    Authors: Chris Newman

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net