Fatal error: Problem preparing query (SELECT p.ten_vi,p.id,p.tenkhongdau_vi,p.thumb,p.gia,p.photo,p.noidung_vi,c.ten_vi as cat_name FROM table_product p LEFT JOIN table_category c on c.id = p.id_category_2 WHERE loaisanpham IN ( ? ) OR id_category_2 = ? AND p.hienthi = ? ORDER BY p.stt DESC, p.id DESC ) Column 'id_category_2' in where clause is ambiguous in /home/locphattai/domains/locphattailoc.vn/public_html/quanly/lib/mysqli/MysqliDb.php on line 845