escape_string(trim($_POST['memberID'])); // create member Instance $member = new member($dbs, $memberID); // send e-mail $status = $member->sendOverdueNotice(); // get message echo $status['message'];