0) {
print(' |
' . $_SESSION['msg'] . '
|
');
}
$data = $_SESSION['teacherstudentsdata'];
print $_SESSION['name'] . ',';
print '';
print 'Here you will find the students registered for your class. Please note that the
class may be subject to cancellation if less than 4 students are registered.';
print '
';
if (count($data) > 0) {
print '
';
//print '';
print '';
print ' Course | ';
print ' Name | ';
print ' Email | ';
print ' Fee | ';
print '
';
for ($i=0; $i < count($data); $i++) {
print '';
print '' . $data[$i][1] . ' | ';
print '' . $data[$i][3] . ', ' . $data[$i][2] . ' | ';
print '' . $data[$i][4] . ' | ';
print '' . $data[$i][5] . ' | ';
print '
';
}
print '
';
} else {
print 'Sorry there no students registered for a class at this time. |
';
}
print '';
print ' FreeSMS Team';
print '
';
print '';
?>