</div> <div class="form-group"> <label>Birth Day</label> <input class="form-control" name="birthdate" value="<?php echo $teacher->birthdate; ?> "> </div> <div class="form-group"> <label>Department</label> <select name="department" class="form-control"> <?php $teacher->teacherDepartmentData($teacher->department_id); ?> <option value="<?php echo $teacher->department_id; ?> "><?php echo $teacher->d_name; ?> </option> <?php foreach ($teacher->teacherDepartment() as $a) { ?> <option value="<?php echo $a['department_id']; ?>