MySQL ERROR: 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 `validation` = 1 ORDER BY `time` DESC LIMIT 0,7' at line 1 (1064):
Error while selecting data from database in query:
SELECT * FROM cms_works WHERE `subjectId` = AND `validation` = 1 ORDER BY `time` DESC LIMIT 0,7.