public static function addPerson_educationlevel($obj_Person_educationlevel)
 {
     $db = config::dbconfig();
     $obj_retresult = new returnResult();
     $obj_Person_educationlevel->EducationLevelId = DAL_managePerson_educationlevel::getLastPerson_educationlevelId() + 1;
     $sql = "INSERT INTO tbl_person_educationlevel (EducationLevelId,SchoolId,StartYear,StartClass,EndYear,EndClass,PersonId) \n\t\tVALUES (" . common::noSqlInject($obj_Person_educationlevel->EducationLevelId) . "," . common::noSqlInject($obj_Person_educationlevel->SchoolId) . "," . "'" . common::noSqlInject($obj_Person_educationlevel->StartYear) . "'" . "," . "'" . common::noSqlInject($obj_Person_educationlevel->StartClass) . "'" . "," . "'" . common::noSqlInject($obj_Person_educationlevel->EndYear) . "'" . "," . "'" . common::noSqlInject($obj_Person_educationlevel->EndClass) . "'" . "," . common::noSqlInject($obj_Person_educationlevel->PersonId) . ");";
     $rs = mysql_query($sql);
     if (mysql_affected_rows() > 0) {
         $obj_retresult->type = 1;
         $obj_retresult->msg = "success";
         $obj_retresult->data = $obj_Person_educationlevel;
     } else {
         $obj_retresult->type = 0;
         $obj_retresult->msg = "failed";
     }
     return $obj_retresult;
 }