function userForgetPassword() { $rm = new Response_Methods(); $EMAILID = $_REQUEST['emailId']; if ($EMAILID == "") { $result = $rm->fields_validation(); return $result; } else { $result = $rm->userForgetPassword($EMAILID); return $result; } }