SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776374679 and hide='n' and checked='y' and gid IN (823,1584,3828,7677,7703,8020,9435,11869,13712,14806,17075,17495,26365,26839,31550,31701,32054,35291,823823,823,)
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