Ejemplo n.º 1
0
    $email_add = mysql_escape_string($_POST['email_address']);
    $address = mysql_escape_string($_POST['address']);
    $contact = mysql_escape_string($_POST['contact']);
    $teacherId = mysql_escape_string($_POST['teacher_id']);
    $status = mysql_escape_string($_POST['status']);
    $department = mysql_escape_string($_POST['department']);
    $teacher->first_name = $first_name;
    $teacher->last_name = $last_name;
    $teacher->middle_name = $middle_name;
    $teacher->birthdate = $birthdate;
    $teacher->email_add = $email_add;
    $teacher->address = $address;
    $teacher->contact_no = $contact;
    $teacher->status = $status;
    $teacher->department_id = $department;
    $teacher->teacherEdit($teacherId);
}
?>
<!DOCTYPE html>
<html lang="en">

<head>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>E-Blast</title>