SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776368355 and hide='n' and checked='y' and gid IN (639,1026,4383,4496,4625,6849,7228,8067,9288,11845,12422,14910,15081,16346,18487,20357,21569,23566,23677,24157,24432,24472,24748,24932,25145,27437,28084,28229,28356,30255,35143,639,3667536675,36675,)
error: 1064 , 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 ')' at line 1