SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776389681 and hide='n' and checked='y' and gid IN (821,7960,10219,11020,11059,14835,15488,21994,22385,25085,26494,31545,821821,821,)
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