Запрос: select news.descr, news.anons, news.url, photo_common.file, DATE_FORMAT(add_date, '%d/%m/%Y') as add_date_vis from news left join photo_common on (photo_common.main_id=news.id) where news.act=1 and news.act_admin=1 and (news.user_id=0 or (news.user_id>0 and news.need_moderation=1)) and photo_common.act=1 and photo_common.tip='news_photo' and news.id not in () order by news.add_date desc, photo_common.mesto limit 0, 4
Ошибка: 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 ') order by news.add_date desc, photo_common.mesto limit 0, 4' at line 1