SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776369345 and hide='n' and checked='y' and gid IN (1225,1667,2270,2335,2875,2909,6715,7557,7953,8830,10021,10342,11066,13579,13583,15032,15426,15719,18047,20263,22919,23410,24331,24387,26774,27198,27471,27630,30559,30654,31073,31364,31365,31486,12251225,1225,)
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