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
select count(*) as count from ***_ecms_f where classid ='' and (replace( ***_ecms_f.price, ',', '' ) +0< '0') and (replace( ***_ecms_f.price, ',', '' ) +0> '0') and is_hide = 0 and checked = 1 and xiaoquid = '' and id <>