Hello,
I have a Validation class here, where I validate user input from a HTML form.
I have an array of presettings that I pass to a check method of the Validation class. I first of all check if the input fields are empty or not, also checking there with the help of the presettings array if it is required that the field must not be empty. If an field is empty, I pass an error-message to the an error-Array. If no field is empty I give out: "Passed"
That check method works fine, the only...
error in Validation class / check method (for HTML form)
from PHP https://ift.tt/3ber0Gf
via IFTTT
0 Comments