Error Number: 1064
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '?Y??[???#u>?OG8?sx"?}?Dl??2?J?? group by cst.course_schedule_id order by cst.da' at line 9
SELECT a.* FROM (Select c.*, min(cst.date) as start, max(cst.date) as end , l.lang,v.area,cst.am_time,cst.am_end_time,pm_time,pm_end_time,cs.id course_scheudle_id,cs.discount, cs.elearning from course_schedule cs left join course c on c.id = cs.course_id left join language l on l.id = cs.lang_id left join stu_course sc on sc.schedule_id = cs.id left join course_schedule_trainner cst on cs.id = cst.course_schedule_id left join venue v on v.id=cs.venue_id where c.id is not null and cs.intake_status='1' and c.id = ?Y¾è[®”ø#u>æOG8…sx"›}´DlÖà2ÕJ¥æ group by cst.course_schedule_id order by cst.date asc) a where (end > CURDATE() or end = CURDATE())
Filename: /home/augus430/public_html/models/home_model.php
Line Number: 370