how to validate password and confirm password 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 :(
}