SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776372728 and hide='n' and checked='y' and gid IN (551,3958,5468,6026,8362,9986,11078,11208,12289,14332,17454,20485,20930,20937,22079,22703,22792,23260,23486,23681,23934,23990,24124,24332,24822,25372,26826,31614,32310,551551,551,)
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