function clearA($param = null) { $checking = $this->paramChecking($param); $data = new FormData($param['u'], $param['uid']); $data->clearPartAEntry($param['qid']); $data->updateData("part_a_overall_score", NULL); $data->updateData("part_a_total", NULL); $data->updateData("part_a_b_total", NULL); }