PHP·98 questions

How to validate input data?

Answer
filter_var() for basic validation.
filter_input(INPUT_POST, 'email', FILTER_VALIDATE_EMAIL).
Custom validation.
Symfony Validator.
Respect/Validation library.
Was this answer helpful?

More questions in this topic

Related questions from other topics