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 `language_id` ="21"' at line 1 SQL: SELECT * FROM bc_translates WHERE `table_name` ="team" AND field_name IN("name","short_town","town","country") AND `item_id` IN () AND `language_id` ="21"