MySQL Query : select DISTINCT e.url_image,c.*,a.name_url as cate_nameurl,a.description as cate_desc from travel_category a left join travel_tours_category b on a.id_category = b.id_category left join travel_tours c on b.id_tours = c.id_tours left join travel_tours_image d on c.id_tours = d.id_tours left join travel_image e on d.id_image = e.id_image where a.id_category = and c.active =1 group by c.id_tours limit 0,10
MySQL Error : 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 'and c.active =1\x0A group by c.id_tours\x0A \x09 limit' at line 7
MySQL Errno : 1064
Message : 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 'and c.active =1\x0A group by c.id_tours\x0A \x09 limit' at line 7
Need Help?