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 m5_images.id=m5_articles.artid
and ' at line 6
The Daily Echo brings you 1000s of jobs , homes and cars every day