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 '%"?+?7??[??B!p?.?4m??)D????M and cs.venue_id = ??2F??@???U?O5m?m"??g^@?' 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 = %"‘+«7õé[ñ·B!p„.±4mœ©)Dœ‚ÛÃM and cs.venue_id = Áö2F·‘@€¶ëUœO5m?m"þîg^@±©çl 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