validate password confirmation 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 :(
}