Recommend this page to a friend! |
All class groups | > | All authors | > | Classes of Alankar (1) | > | Mission progress status | > | Reputation |
|
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z |
| ||||
This class can validate submitted form values according to rules. It takes an array of parameters of rules and the $_POST or $_GET array with the submitted form values and verifies if they satisfy the specified rules. The class returns a list of invalid form values in case some are invalid. Currently it can validate values with rules like making the value required, maximum and minimum length, check if it is a number, letters or numbers only, email addresses, and URL. |
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z |