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 '65819348,65819295,65819038,65818617,65818601,65818246,65817569,65817086,65816...' at line 1 AT SELECT *,fgn_news.link as url FROM fgn_news,fgn_src WHERE news_id IN(0,65845572,65844817,65843573,65842636,65841905,65841857,65841759,65841317,65841165,65840869,65840660,65840402,65839887,65839588,65839539,65839320,65839280,65839235,65838905,65838805,65838570,65838027,65837877,65837544,65837301,65836644,65834414,65834370,65833850,65833592,65832697,65832286,65831817,65831454,65830593,65830592,65830588,65830517,65830384,65829892,65829736,65829731,65829669,65829584,65829532,65829393,65828541,65828437,65827968,65827516,65827169,65826883,65826744,65826346,65825822,65825786,65825643,65825500,65825409,65824865,65824806,65823873,65823685,65823317,65823210,65822471,65822154,65822002,65821642,65821362,65820874,65820570,65820074,65820064,65819867,65819863,65819848,,65819348,65819295,65819038,65818617,65818601,65818246,65817569,65817086,65816959,65816692,65816507,65816465,65816425,65816398,65816154,65815527,65815369,65814972,65814812,65814714,65814492,65814423,65814360,65814179,65814097,65813750,65813269,65812417,65812310,65811790,65811580,65811422,65811299,65811271,65810928,65810885,65810745,65810677,65810631,65810364,65810292,65810079,65810029,65809799,65809768,65809120,65808882,65808833,65808792,65808416,65808343,65808137,65808134,65808103,65808080,65807926,65807751,65807575,65807513,65807255,65807069,65806964,65806856,65806788,65806593,65806506,65806359,65806114,65806053,65805789,65805623,65805468,65804696,65804647,65804300,65804247,65804167,65803796,65803276,65803064,65802759,65802744,65802740,65802734,65802586,65802461,65802216,65802197,65802101,65801967,65801110,65800773,65800376,65800216,65800181,65800102,65799305,65798147,65797095,65796402,65796354,65796342,65795591,65795539,65795361,65795317,65795226,65795152,65795133,65794929,65794791,65793791,65793197,65793066,65792939,65792687,65791599,65791550,65791384,65791324,65790076,65790071,65789840,65789319,65789006,65788995,65788920,65788819,65788812,65788770,65788752,65788447,65788421,65788408,65788297,65788006,65787703,65787624,65786527,65786152,65786067,65784184,65784023,65783599,65783584,65782486,65782171,65781283,65777205,65776782,65776642,65775670,65775053,65774867,65774698,65774548,65773586,65773503,65773290,65773024,65771972,65771643,65771184,65770534,65770510,65769807,65769440,65769180,65768539,65767186,65766481,65766175,65765442,65765272,65764897,65764839,65762933,65762603,65761841,65761803,65761766,65761761,65761431,65760857,65760642,65760584,65760294,65760202,65759987,65759829,65759308,65758951,65758701,65758643,65758504,65758288,65757966,65757833,65757740,65757717,65757129,65756923,65756918,65755969,65755885,65755825,65755553,65755495,65755396,65755196,65755100,65754833,65754384,65754332,65753836,65753759,65753743,65753352,65752684,65752651,65752542,65752253,65751941,65750724,65750680,65750065,65750055,65749994,65749801,65749442,65749408,65749355,65749307,65749119,65748944,65748505,65747543,65747038,65746901,65746527,65745981,65745766,65745209,65745010,65744505,65744280,65744192,65743918,65743708,65743706,65743402,65743333,65743282,65743263,65743258,65743098,65742936,65742855,65742853,65742790,65742742,65742689,65742610,65742510,65742397,65742284,65742227,65742077,65742020,65741716,65741666,65741409,65741357,65741301,65741286,65740909,65740877,65740546,65740543,65739601,65739481,65739425,65739345,65739283,65739213,65739177,65739101,65739012,65738877,65738582,65738305,65738137,65737973,65737856,65737762,65737759,65737744,65737664,65737585,65737489,65737146,65736551,65736467,65736378,65736364,65733230,65733063,65732841,65732811,65732772,65732713,65732705,65732680,65732178,65732013,65731841,65731276,65731117,65730869,65730671,65730372,65729176,65729054,65728932,65728804,65728393,65728388,65728284,65727709,65725730,65724630,65723911,65722512,65722215,65722116,65721684,65721368,65720183,65720081,65719441,65719233,65719052,65717674,65716267,65716008,65715655,65715587,65715420,65715095,65714522,65714432,65714422,65714402,65714387,65714213,65714128,65713962,65713923,65713765,65713732,65713681,65713405,65713393,65713276,65713265,65713240,65713003,650) AND pubdate>1669726200 AND fgn_news.src_id=fgn_src.src_id ORDER BY hit*(gid+0.01) DESC LIMIT 0,6