SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776377057 and hide='n' and checked='y' and gid IN (445,737,4386,4967,6252,6307,7154,9643,10163,10682,11868,11914,11952,11977,12128,14758,18187,21734,21930,24589,25199,445445,445,36755,)
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