sanphamfiler select `sanpham_id`,`sanpham_tieude`,`sanpham_alias`,`sanpham_hinhanh`,`sanpham_giamoi`,`sanpham_masanpham`,`sanpham_tinhtrang`,`sanpham_luotxem`,`sanpham_mota`,`sanpham_sao` from `tbsanpham` where `sanpham_trangthai` = 1 and `loaitin_id1` = 1028 and thuonghieu_id= and FIND_IN_SET(536, sanpham_thuoctinh) order by sanpham_thutu asc,sanpham_id desc 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 FIND_IN_SET(536, sanpham_thuoctinh) order by sanpham_thutu asc,sanpham_i' at line 1