SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776363630 and hide='n' and checked='y' and gid IN (321,4569,4677,7222,7749,8924,10343,11162,12301,13793,14062,14971,15053,15230,21034,21039,21050,22015,23069,23205,25417,25719,27634,31829,36517,321321,321,)
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