www.webdeveloper.com
Results 1 to 2 of 2

Thread: Trying to validate form field on the server using PHP...

  1. #1
    Join Date
    Oct 2007
    Posts
    14

    Trying to validate form field on the server using PHP...

    I am attempting to validate a data passed in a form using PHP on the server side. Here is what I would like to do. User enters a value in the form and clicks on submit. On the server side, the PHP script should validate that the data matches a certain string. In this case I will say "team." If there was not data entered or the data does not match team, then I would like to print out a message like, "incorrect PW entered. If the data entered is correct, then I would print, "Thanks...correct PW entered."

    I would appreciate any feeback. Thanks

  2. #2
    Join Date
    Oct 2007
    Posts
    14

    resolved Resolved...

    Nevermind...I got it to work.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles