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 '0,2,3,4,5,6,7,8,10,11,12,13,14,15,18,19,22,25,26,0,2,3,4,5,6,7,8,10,11,12,13,14,' at line 3 :: SELECT * FROM langs WHERE id IN (2,2,6,2,6,6,2,6,6,6,2,6,6,6,6,6,6,6,6,6,0,2,3,4,5,6,7,8,14,26,6,6,6,6,6,6,6,6,0,2,3,4,5,6,7,8,10,12,13,14,15,18,19,22,25,26,0,2,3,4,5,6,7,8,10,11,12,13,14,15,18,19,22,25,26,0,2,3,4,5,6,7,8,10,12,13,14,15,18,19,22,25,26,0,2,3,4,5,6,7,8,10,11,12,13,14,15,18,19,22,25,26,0,2,3,4,5,6,7,8,10,12,13,14,15,18,19,22,25,26,6,0,2,3,4,5,6,7,8,10,11,12,13,14,15,18,19,22,25,26,0,2,3,4,5,6,7,8,10,12,13,14,15,18,19,22,25,26,0,2,3,4,5,6,7,8,10,11,12,13,14,15,18,19,22,25,26,0,2,3,4,5,6,7,8,10,12,13,14,15,18,19,22,25,26,0,2,3,4,5,6,7,8,10,11,12,13,14,15,18,19,22,25,26,0,2,3,4,5,6,7,8,10,12,13,14,15,18,19,22,25,26,2,0,6,6,0,2,3,4,5,6,7,8,10,11,12,13,14,15,18,19,22,25,26,0,2,3,4,5,6,7,8,10,12,13,14,15,18,19,22,25,26,0,6,0,6,0,2,3,4,5,6,7,8,11,14,26,0,2,3,4,5,6,7,8,11,14,26,0,2,3,4,5,6,7,8,11,14,26,0,2,3,4,5,6,7,8,11,14,26,0,2,3,4,5,6,7,8,11,14,26,6,6,0,2,3,4,5,6,7,8,11,14,26,0,2,3,4,5,6,7,8,11,14,26,0,2,3,4,5,6,7,8,11,14,26,0,2,3,4,5,6,7,8,11,14,26,0,6,11,0,6,11,0,6,11,0,6,11,0,6,11,0,6,11,0,6,11,2,2,0,2,2,2,0,2,2,0,2,2,2,2,2,2,2,2,2,2,2,2,2,0,2,3,4,5,6,7,8,10,11,12,13,14,25,2,6,0,2,3,4,5,6,7,8,12,13,14,25,,0,2,3,4,5,6,7,8,10,11,12,13,14,15,18,19,22,25,26,0,2,3,4,5,6,7,8,10,11,12,13,14,15,18,19,22,25,26,0,2,3,4,5,6,7,8,10,11,12,13,14,15,18,19,22,25,26,0,2,3,4,5,6,7,8,10,11,12,13,14,15,18,19,22,25,26,0,2,3,4,5,6,7,8,10,11,12,13,14,15,18,19,22,25,26,6,2,3,4,5,6,7,2,3,4,5,6,7,0,2,3,4,5,6,7,0,2,3,4,5,6,7,0,6,0,2,3,4,5,6,7,8,10,11,12,13,14,15,18,19,22,25,26,0,2,3,4,5,6,7,8,10,11,12,13,14,15,18,19,22,25,26,0,6,2,0,6,0,6,0,6,0,2,3,4,5,6,7,8,10,11,12,13,14,15,18,19,22,25,26,0,2,3,4,5,6,7,8,10,11,12,13,14,15,18,19,22,25,26,0,2,3,4,5,6,7,8,10,11,12,13,14,15,18,19,22,25,26,0,2,3,4,5,6,7,8,10,11,12,13,14,15,18,19,22,25,26,0,0,2,3,4,5,6,7,8,11,14,15,22,26,27,0,2,3,4,5,6,7,8,11,14,15,22,26,27,0,2,3,4,5,6,7,8,11,14,15,22,26,27,0,2,0,2,3,4,5,6,7,8,11,14,15,22,26,27,0,2,3,4,5,6,7,8,11,14,15,22,26,27,0,2,0,2,3,4,5,6,7,8,11,14,15,22,26,27,0,2,3,4,5,6,7,8,11,14,15,22,26,27,0,2,3,4,5,6,7,8,11,14,15,22,26,27,0,2,3,4,5,6,7,8,11,14,15,22,26,27,0,2,0,0,2,3,4,5,6,7,8,11,14,15,22,26,27,0,2,3,4,5,6,7,8,11,14,15,22,26,27,0,2,0,2,3,4,5,6,7,8,0,2,3,4,5,6,7,8,10,12,13,14,15,18,19,22,25,26,0,2,3,4,5,6,7,8,10,11,12,13,14,15,18,19,22,25,26,0,2,3,4,5,6,7,8,10,12,13,14,15,18,19,22,25,26,0,2,3,4,5,6,7,8,10,11,12,13,14,15,18,19,22,25,26,0,2,3,4,5,6,7,8,10,12,13,14,15,18,19,22,25,26,6,0,2,3,4,5,6,7,8,10,11,12,13,14,15,18,19,22,25,26,0,2,3,4,5,6,7,8,10,12,13,14,15,18,19,22,25,26,0,2,3,4,5,6,7,8,10,11,12,13,14,15,18,19,22,25,26,0,2,3,4,5,6,7,8,10,12,13,14,15,18,19,22,25,26,0,2,3,4,5,6,7,8,10,11,12,13,14,15,18,19,22,25,26,0,2,3,4,5,6,7,8,10,12,13,14,15,18,19,22,25,26,2,0,6,6,0,2,3,4,5,6,7,8,10,11,12,13,14,15,18,19,22,25,26,0,2,3,4,5,6,7,8,10,12,13,14,15,18,19,22,25,26,0,6,0,6,0,2,3,4,5,6,7,8,11,14,15,22,26,27,0,2,3,4,5,6,7,8,11,14,15,22,26,27,0,2,3,4,5,6,7,8,11,14,15,22,26,27,0,2,3,4,5,6,7,8,11,14,15,22,26,27,0,2,3,4,5,6,7,8,11,14,15,22,26,27,6,6,0,2,3,4,5,6,7,8,11,14,15,22,26,27,0,2,3,4,5,6,7,8,11,14,15,22,26,27,0,2,3,4,5,6,7,8,11,14,15,22,26,27,0,2,3,4,5,6,7,8,11,14,15,22,26,27,0,2,3,4,5,6,7,8,11,14,15,22,26,27,0,2,3,4,5,6,7,8,11,14,15,22,26,27,0,2,3,4,5,6,,0,2,3,4,5,6,7,8,10,11,12,13,14,15,18,19,22,25,26,0,2,3,4,5,6,7,8,10,11,12,13,14,15,18,19,22,25,26,0,2,3,4,5,6,7,8,10,11,12,13,14,15,18,19,22,25,26,0,2,3,4,5,6,7,8,10,11,12,13,14,15,18,19,22,25,26,0,2,3,4,5,6,7,8,10,11,12,13,14,15,18,19,22,25,26,6,2,3,4,5,6,7,2,3,4,5,6,7,0,2,3,4,5,6,7,0,2,3,4,5,6,7,0,6,0,2,3,4,5,6,7,8,10,11,12,13,14,15,18,19,22,25,26,0,2,3,4,5,6,7,8,10,11,12,13,14,15,18,19,22,25,26,0,6,2,0,6,0,6,0,6,0,2,3,4,5,6,7,8,10,11,12,13,14,15,18,19,22,25,26,0,2,3,4,5,6,7,8,10,11,12,13,14,15,18,19,22,25,26,0,2,3,4,5,6,7,8,10,11,12,13,14,15,18,19,22,25,26,0,2,3,4,5,6,7,8,10,11,12,13,14,15,18,19,22,25,26,0,0,2,3,4,5,6,7,8,10,11,12,13,14,15,22,26,27,0,2,3,4,5,6,7,8,10,11,12,13,14,15,22,26,27,0,2,3,4,5,6,7,8,10,11,12,13,14,15,22,26,27,0,2,3,4,5,6,7,8,10,12,13,14,26,0,2,3,4,5,6,7,8,10,11,12,13,14,15,22,26,27,0,2,3,4,5,6,7,8,10,11,12,13,14,15,22,26,27,0,2,3,4,5,6,7,8,10,12,13,14,26,0,2,3,4,5,6,7,8,10,11,12,13,14,15,22,26,27,0,2,3,4,5,6,7,8,10,11,12,13,14,15,22,26,27,0,2,3,4,5,6,7,8,10,11,12,13,14,15,22,26,27,0,0,2,3,4,5,6,7,8,12,13,14,25,26,0,2,3,4,5,6,7,8,12,13,14,25,26,0,2,3,4,5,6,7,8,12,13,14,25,26,0,2,3,4,5,6,7,8,12,13,14,25,26,0,2,3,4,5,6,7,8,12,13,14,25,26,6,0,2,3,4,5,6,7,8,12,13,14,25,26,0,2,3,4,5,6,7,8,12,13,14,25,26,0,2,3,4,5,6,7,8,12,13,14,25,26,0,2,3,4,5,6,7,8,12,13,14,25,26,0,2,3,4,5,6,7,8,12,13,14,25,26,0,2,3,4,5,6,7,8,12,13,14,25,26,2,2,0,2,3,4,5,6,7,8,12,13,14,25,26,2,6,2,0,2,3,4,5,6,7,8,12,13,14,25,26,0,2,3,4,5,6,7,8,12,13,14,25,26,2,0,2,3,4,5,6,7,8,12,13,14,25,26,0,2,3,4,5,6,7,8,12,13,14,25,26,0,2,3,4,5,6,7,8,11,14,15,22,26,27,0,2,3,4,5,6,7,8,11,14,15,22,26,27,0,2,3,4,5,6,7,8,11,14,15,22,26,27,0,2,3,4,5,6,7,8,11,14,15,22,26,27,0,2,3,4,5,6,7,8,11,14,15,22,26,27,6,6,0,2,3,4,5,6,7,8,11,14,15,22,26,27,0,2,3,4,5,6,7,8,11,14,15,22,26,27,0,2,3,4,5,6,7,8,11,14,15,22,26,27,0,2,3,4,5,6,7,8,11,14,15,22,26,27,0,2,3,4,5,6,7,8,11,14,15,22,26,27,0,2,3,4,5,6,7,8,11,14,15,22,26,27,0,2,3,4,5,6,7,8,11,14,15,22,26,27,0,2,3,4,5,6,7,8,11,14,15,22,26,27,0,2,3,4,5,6,7,8,11,14,15,22,26,27,0,2,3,4,5,6,7,8,11,14,15,22,26,27,,0,2,3,4,5,6,7,8,10,12,13,14,18,19,25,26,0,2,3,4,5,6,7,8,10,12,13,14,18,19,25,26,0,2,3,4,5,6,7,8,10,12,13,14,18,19,25,26,0,2,3,4,5,6,7,8,10,12,13,14,18,19,25,26,0,2,3,4,5,6,7,8,10,12,13,14,18,19,25,26,6,12,0,2,3,4,5,6,7,8,12,13,14,25,26,0,2,3,4,5,6,7,8,12,13,14,25,26,0,2,3,4,5,6,7,8,12,13,14,25,26,0,2,3,4,5,6,7,8,12,13,14,25,26,0,6,0,2,3,4,5,6,7,8,10,12,13,14,18,19,25,26,0,2,3,4,5,6,7,8,10,12,13,14,18,19,25,26,0,6,2,0,2,3,4,5,6,7,8,12,13,14,25,26,0,6,0,6,0,2,3,4,5,6,7,8,10,12,13,14,18,19,25,26,0,2,3,4,5,6,7,8,10,12,13,14,18,19,25,26,0,2,3,4,5,6,7,8,10,12,13,14,18,19,25,26,0,2,3,4,5,6,7,8,10,12,13,14,18,19,25,26,0,0,2,3,4,5,6,7,8,11,14,15,22,26,27,0,2,3,4,5,6,7,8,11,14,15,22,26,27,0,2,3,4,5,6,7,8,11,14,15,22,26,27,0,2,0,2,3,4,5,6,7,8,11,14,15,22,26,27,0,2,3,4,5,6,7,8,11,14,15,22,26,27,0,2,6,0,2,3,4,5,6,7,8,11,14,15,22,26,27,0,2,3,4,5,6,7,8,11,14,15,22,26,27,0,2,3,4,5,6,7,8,11,14,15,22,26,27,0,2,3,4,5,6,7,8,11,14,15,22,26,27,0,2,0,0,2,3,4,5,6,7,8,11,14,15,22,26,27,0,2,3,4,5,6,7,8,11,14,15,22,26,27,0,2,0,2,3,4,5,,6,6,6,0,2,3,4,5,6,7,8,10,12,13,14,18,25,26,6,6,6,0,2,3,4,5,6,7,8,10,12,13,14,18,25,26,6,6,6,0,2,3,4,5,6,7,8,10,12,13,14,18,25,26,0,2,3,4,5,6,7,8,10,12,13,14,18,25,26,0,2,3,4,5,6,7,8,11,12,13,14,25,26,27,2,6,2,6,14,0,2,3,4,5,6,7,8,11,12,13,14,25,26,27,0,2,3,4,5,6,7,8,11,12,13,14,25,26,27,2,6,0,2,3,4,5,6,7,8,11,12,13,14,25,26,27,0,2,3,4,5,6,7,8,11,12,13,14,25,26,27,0,2,3,4,5,6,7,8,11,12,13,14,25,26,27,0,2,3,4,5,6,7,8,11,12,13,14,25,26,27,2,6,0,2,0,2,3,4,5,6,7,8,14,26,0,2,3,4,5,6,7,8,14,26,2,2,6,0,2,3,4,5,6,7,8,14,26,0,2,3,4,5,6,7,8,14,26,0,2,3,4,5,6,7,8,11,14,15,22,26,27,0,2,3,4,5,6,7,8,11,14,15,22,26,27,0,2,3,4,5,6,7,8,11,14,15,22,26,27,0,2,3,4,5,6,7,8,11,14,15,22,26,27,0,2,3,4,5,6,7,8,11,14,15,22,26,27,0,2,6,6,2,0,2,3,4,5,6,7,8,11,14,15,22,26,27,0,2,3,4,5,6,7,8,11,14,15,22,26,27,0,2,3,4,5,6,7,8,11,14,15,22,26,27,0,2,3,4,5,6,7,8,11,14,15,22,26,27,2,2,0,2,3,4,5,6,7,8,11,14,15,22,26,27,0,2,3,4,5,6,7,8,11,14,15,22,26,27,0,2,3,4,5,6,7,8,11,14,15,22,26,27,0,2,3,4,5,6,7,8,11,14,15,22,26,27,0,2,3,4,5,6,7,8,11,14,15,22,26,27,0,2,3,4,5,6,7,8,11,14,15,22,26,27,0,2,3,4,5,6,7,8,11,14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