php check a password code example Example: php check if passwords match if ($password == $confirmPassword)