MySQL Forums
Forum List  »  PHP

Re: Validation does not stop data submission to Database
Posted by: Barry Galbraith
Date: January 17, 2015 06:56PM

You run all your data through testing, setting $status = "NOTOK" if the test fails.
But then you insert your data without checking $status to see if you should insert ($status="OK"), or show your error message(s) $status= "NOTOK").

Good luck,
Barry.

Options: ReplyQuote


Subject
Written By
Posted
Re: Validation does not stop data submission to Database
January 17, 2015 06:56PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.