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 'tags) and ( type='product' or type='nncv' or type='dcbg' or type='dcxh' or type' at line 1syntax error: select ten_vi,thumb,tenkhongdau,giamoi,giacu,mota_vi,photo,giatv from table_product where hienthi=1 and FIND_IN_SET(,tags) and ( type='product' or type='nncv' or type='dcbg' or type='dcxh' or type='dcvd' ) order by stt,id desc limit 0,30