Error performing query: SELECT a.id,a.time,a.title,a.content,b.img from news as a left join newsimg as b on a.id=b.newsid where a.id=:
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 '' at line 1