Error running query (SELECT * FROM `images` where news_id = and seq = ): 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 seq =' at line 1 (1064)

IMAGE TYPE UNKNOWN: