2022-02-17 16:55:31 manageCourse.php (19) checking tablename : semester 2022-02-17 16:55:39 manageUser.php (14) Received 'POST' parameters: [action] = GET_PROFILE 2022-02-17 16:57:33 manageCourse.php (19) checking tablename : semester 2022-02-17 16:57:33 manageCourse.php (19) checking tablename : semester 2022-02-17 16:57:33 manageCourse.php (53) checking tablename : course & offer 2022-02-17 16:57:33 manageCourse.php (99) checking tablename : course & offer 2022-02-17 16:57:33 manageCourse.php (101) checking semester : 1000002 2022-02-17 16:57:33 manageCourse.php (102) filter Dep : 2022-02-17 16:57:33 manageCourse.php (104) checking session type : student 2022-02-17 16:57:33 manageCourse.php (107) stdId : 1000007 2022-02-17 16:57:33 manageCourse.php (138) sql : SELECT distinct c.courseId as cid, c.offerId as offId, c.courseImgPath, c.courseTitleTh, c.detail, en.enrollmentStatus as enStatus FROM (SELECT c.courseId, o.offerId, c.courseImgPath, c.courseTitleTh, c.detail FROM course as c, offer as o WHERE o.courseId = c.courseId AND c.courseStatus = 1 AND o.offerStatus = 1 AND o.semesterId = ? ) as c LEFT JOIN (SELECT courseId, offerId, enrollmentStatus FROM enrollment WHERE studentId = ?) as en ON en.courseId = c.courseId;