SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776369446 and hide='n' and checked='y' and gid IN (1164,4917,7765,11959,28805,29087,29228,29268,29412,29773,31720,31770,32501,32572,11641164,1164,)
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