Beispiel #1
0
echo $student->email_address;
?>
">
                                        </div>
                                        <div class="form-group">
                                            <label>Birthdate</label>
                                            <input class="form-control" name='birthdate' value="<?php 
echo $student->birthdate;
?>
">
                                        </div>                                   
                                        <div class="form-group">
                                            <label>Course</label>
                                            <select name="course">
                                            <?php 
$student->courseListName($student->course);
?>
                                            <option value="<?php 
echo $student->course_id;
?>
"><?php 
echo $student->course_name;
?>
</option>
                                            <?php 
foreach ($student->courseListData() as $a) {
    ?>
                                            <option value="<?php 
    echo $a['course_id'];
    ?>
"><?php 
Beispiel #2
0
                                        <tr>
                                            <th>Student No </th>
                                            <th>First Name</th>
											<th>Last Name</th>											
											<th>Course</th>
                                            <th>Status</th>
											<th>Action</th>

                                        </tr>
                                    </thead>
                                    <tbody>
									<?php 
foreach ($student->studentList() as $a) {
    ?>
                                    <?php 
    $student->courseListName($a['course']);
    ?>
                                        <tr class="odd gradeX">
                                            <td><?php 
    echo $a['student_no'];
    ?>
</td>
                                            <td><?php 
    echo $a['first_name'];
    ?>
</td>
                                            <td><?php 
    echo $a['last_name'];
    ?>
</td>											
											<td><?php