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 '?Dݣ͒Q??t????4??I??sX??J? ??? and cs.venue_id = VUKגg??T??%??3??uL?6螌??' 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 = Dݣ͒Qt4IsXJ and cs.venue_id = VUKגgT%3uL6螌џͩ 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