getOne("SELECT count(class_id) FROM classes WHERE teacher_id='{$_SESSION['steacher_id']}'"); //$studentCount = $db->getOne("SELECT count(students.student_id) FROM students LEFT JOIN classes USING(class_id) WHERE classes.teacher_id='{$_SESSION['steacher_id']}'"); print<<Welcome $s->sfirstname

Currently, you have $classCount classes with $studentCount students.

Please choose a task from the list below to begin.


Go to classes index page

Add a new class

eof; break; } include("inc/foot.php"); ?>