Сообщение: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 '31) ORDER BY city ASC, title ASC' at line 1Запрос:
SELECT id, title, pretext, city FROM stpmsk_sklad WHERE active!='0' AND id IN (,31) ORDER BY city ASC, title ASC