SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776369449 and hide='n' and checked='y' and gid IN (1170,7443,8401,10669,11190,15466,16246,16365,23426,29032,31040,32385,34651,11701170,1170,)
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