SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776507926 and hide='n' and checked='y' and gid IN (351,386,1095,5969,7173,7234,7795,8923,11059,11157,11164,12076,13427,14001,15404,19201,19712,20212,21212,22603,23143,24770,26161,27765,28271,28561,31493,33439,36318,351351,351,)
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