SQL Error: 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 'WHERE a.post_id IN (4721007) ORDER BY d.filetime DESC' at line 3
SELECT a.post_id, d.*, r.thanked, r.rating FROM phpbb_attachments a join phpbb_attachments_desc d on a.attach_id = d.attach_id left join phpbb_attachments_rating r on r.attach_id=a.attach_id and r.user_id= WHERE a.post_id IN (4721007) ORDER BY d.filetime DESC
Line: 535
File: functions_attach.php
Написано
Войдите на сайт
Чтобы задать вопрос и получить на него квалифицированный ответ.
SELECT a.post_id, d.*, r.thanked, r.rating FROM phpbb_attachments a join phpbb_attachments_desc d on a.attach_id = d.attach_id left join phpbb_attachments_rating r on r.attach_id=a.attach_id and r.user_id= WHERE a.post_id IN (4721007) ORDER BY d.filetime DESC
Line: 535
File: functions_attach.php