PHP COURSE • LESSON 27
PHP Form Validation
Validation checks whether user input is correct.
Validation Example
<?php
if(empty($_POST["name"])){
echo "Name required";
}
?>
Security
Always validate user input before saving it.