syntax error: select * from table_product where hienthi=1 and id_cat=40 and id_item= and id_cat1=171 order by rand()