SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776363667 and hide='n' and checked='y' and gid IN (3091,6230,7177,9772,13506,13983,16988,23341,23733,25001,25634,25827,26424,30499,32271,32311,32360,32607,30913091,3091,)
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