SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776371581 and hide='n' and checked='y' and gid IN (3767,3841,9256,9366,12336,12904,14826,15063,16167,16611,21586,23733,25118,29376,29917,30036,31489,366943767,3767,)
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