You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '1306106,1304295,1302907,1301060,1301046,1296342 AND (IDevent=11 || IDevent=13)' at line 11