SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1772502621 and hide='n' and checked='y' and gid IN () order by date desc
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 ') order by date desc' at line 1