SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776362662 and hide='n' and checked='y' and gid IN (165,1897,3243,5662,6102,7149,8377,8491,11782,12137,13080,14533,14757,17579,18133,22295,23473,25288,25373,25689,27701,28873,29954,32357,165165,36727,165,36710,)
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