Example #1
0
function loadDonView()
{
    global $app;
    load_head();
    echo $app["version"];
    $mysqli = connectDb();
    $ids = getEnableds($mysqli);
    showTeacherForm($ids);
    closeDb($mysqli);
    load_foot();
}
Example #2
0
function loadView()
{
    global $app;
    load_head();
    $mysqli = connectDb();
    $ids = getEnableds($mysqli);
    $teacherNames = getTeacherNames($mysqli);
    showStudentForm($ids, $teacherNames);
    closeDb($mysqli);
    load_foot();
}