php validation password and confirm password 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 :(
}