how to check if password equals in php code example Example: php check if passwords match if ($password == $confirmPassword)