SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776377716 and hide='n' and checked='y' and gid IN (1236,6118,6921,8051,9339,15167,17316,17476,17847,18291,18694,18996,19460,20118,20512,22245,26251,30717,31420,32814,36273,12361236,1236,)
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