SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776371580 and hide='n' and checked='y' and gid IN (201,299,968,1707,10659,11122,12104,12799,19560,20417,23072,30951,31974,201201,201,)
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