Query failed: 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 `games2`.`published` = 1 ORDER BY `load_all` DESC' at line 1
SELECT * FROM `games2` WHERE `games2`.`cat_id` = AND `games2`.`published` = 1 ORDER BY `load_all` DESC