MySQL Query : select distinct n.id_news,n.name_url,n.title,n.subtitle,n.color,n.strong,n.meta_url,n.description,n.meta_title,n.views,n.date_add,c.url_image from travel_news n,travel_news_category nc0,travel_news_category nc1,travel_news_category nc2,travel_image c,travel_news_image d where n.active=1 and n.id_parent=0 and n.id_news=nc0.id_news and nc0.id_category=1901 and n.id_news=nc1.id_news and nc1.id_category=1827 and n.id_news=nc2.id_news and nc2.id_category= and n.id_news = d.id_news and d.id_image = c.id_image and n.id_news<>0 group by n.id_news order by n.position,n.date_upd desc,nc0.position,nc1.position,nc2.position limit 0,4
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 n.id_news = d.id_news\x0A\x09\x09\x09\x09and d.id_image = c.id_image\x0A\x' at line 11
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 n.id_news = d.id_news\x0A\x09\x09\x09\x09and d.id_image = c.id_image\x0A\x' at line 11
Need Help?