chg_pwd(); } else{ $obj->getErrorMsg("Error: Re-type password not match, please try again..."); } } ?>