SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776376068 and hide='n' and checked='y' and gid IN (229,532,994,1170,2707,3485,4416,5546,6977,7234,7675,7775,10517,10897,11065,11611,12136,12955,13793,15759,18495,19258,19455,19961,20775,21014,22348,23190,25957,26513,26803,27200,29935,30752,34866,229229,229,)
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