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 't_know_jack.htm' AND flag_active=1 LIMIT 0,1' at line 1
SELECT new_url FROM url_rewrites WHERE previous_url='games/codes/sony/you_don't_know_jack.htm' AND flag_active=1
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 't_know_jack' and a.article_type_id = 3 AND a.content_status_id = 1 order by a' at line 1
select a.*, p.code_name as platform_code_name, i.image_path, i.image_file, i.image_format from game_article a, reference_platform p, game g left join game_image i on g.primary_game_image_id=i.id where a.game_id = g.id and g.platform_id = p.id and g.code_name = 'you_don't_know_jack' and a.article_type_id = 3 AND a.content_status_id = 1 order by a.id asc