SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776370345 and hide='n' and checked='y' and gid IN (1126,1127,2643,2939,3384,6747,6982,7228,7557,8318,9257,9390,9612,9951,12820,17471,17605,17905,18706,18795,18920,18972,19169,19572,20935,21510,31390,32167,36213,11261126,1126,)
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