password and confirm password validatition in php code example
Example: how to check confirm password in php
if ($_POST["password"] === $_POST["confirm_password"]) {
// success!
}
else {
// failed :(
}
if ($_POST["password"] === $_POST["confirm_password"]) {
// success!
}
else {
// failed :(
}