SELECT gid,title,cover,content FROM emlog_blog WHERE hide='n' AND type='blog' AND gid!= AND gid IN (0) ORDER BY rand() LIMIT 0,6
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 'AND gid IN (0) ORDER BY rand() LIMIT 0,6' at line 1