SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776377056 and hide='n' and checked='y' and gid IN (1864,7659,7750,9386,9425,11047,13147,17519,22477,23641,24273,24403,26642,27359,29431,345991864,34599,1864,)
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