Skip to content

Glossary: PHP Basics

validation

Also written: validate

Checking input before you use it, such as trimming it, requiring fields and testing formats with `filter_var()`, then collecting problems in an `$errors` array.

Where the book teaches it

Related terms

filter_var()escaping