Wednesday, December 29, 2010

php note - checking if form input is empty

if ($name == "" || $email == "" || $password == "") {
    echo "Please fill in all the fields";
}

No comments:

Post a Comment