Exemplo n.º 1
0
<?php

include_once $_SERVER['DOCUMENT_ROOT'] . '/php/numqualifications.php';
include_once $_SERVER['DOCUMENT_ROOT'] . '/php/numcourses.php';
while ($qual = $result->fetch_assoc()) {
    echo "<h3 style='text-align:left'>" . $qual['qualName'] . " (" . $qual['qualCode'] . ")</h3>";
    addCourseRows($_SERVER['DOCUMENT_ROOT'] . '/portal/feedback/table.php', $qual['qualCode']);
}
$db->close();
Exemplo n.º 2
0
<div class='results'>
	<h3 style="text-align:left"><?php 
echo $qual['qualName'] . " (" . $qual['qualCode'] . ")";
?>
</h3>
	<table name='<?php 
echo $qual['qualCode'];
?>
'>
		<thead>
			<tr>
				<th>Course Code</th>
				<th>Course Name</th>
				<th>Semester</th>
				<th>Grade</th>
				<th>Feedback</th>
			</tr>
		</thead>
		<tbody>
			<?php 
include_once $_SERVER['DOCUMENT_ROOT'] . '/php/numcourses.php';
addCourseRows($_SERVER['DOCUMENT_ROOT'] . '/portal/courses/row.php', $qual['qualCode']);
?>
			</tbody>
	</table>

</div>