예제 #1
0
function add_student()
{
    $cntry = db_get_first_country();
    $curyear = date('Y');
    $newid = db_save_student('-', 'name', '', 'surname', '2000-12-24', '123', 'M', $cntry, '*****@*****.**', array(), $curyear . '/' . ($curyear + 1));
    $st = db_retrieve_student_byID($newid);
    addedit_student($st);
}
예제 #2
0
function add_university()
{
    $ctrys = db_get_first_country();
    addedit_university(array('-', 'enter university name', $ctrys[0], 'enter erasmus code'));
}