You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$sql = "SELECT student.id,firstname,lastname,course.department,course.code,course.section FROM student INNER JOIN session on (student.id=session.student) LEFT JOIN course on (student.course=course.id) WHERE session.id=?";
}else{
$sql = "SELECT student.id,firstname,lastname FROM student INNER JOIN session on (student.id=session.student) WHERE session.id=? AND student.course=?";