SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776364185 and hide='n' and checked='y' and gid IN (3042,4477,5165,7339,7561,9264,9347,9732,10391,11589,14568,14892,15754,21374,21566,22101,24973,26400,26961,28227,28776,30517,30997,30423042,3042,)
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