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 '*Dp??͂7?c퍸?i??*???f)IMm and cs.venue_id = ??l?i)w?8U0??q??????\??,Q?' 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 = *Dp͂7c퍸i*f)IMm and cs.venue_id = li)w8U0q\,Q[ 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