syntax error: SELECT count(id) AS numrows FROM table_product where hienthi=1 and (id_author='3631' or id_author_p='3631') and id_cat IN ()