SELECT id, to_id FROM sc_opinions WHERE to_id IN () AND status IN ('public', 'blocked') AND uid=0 ORDER BY datum DESC, idYou 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 status IN ('public', 'blocked') AND uid=0 ORDER BY datum DESC, id' at line 1