ERROR! 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 hienthi=1 and giacu != 0' at line 1 (code:1064) select id from h_sanpham where lsp_id = 4 and lsp_id1 = 225 and lsp_id2 = and hienthi=1 and giacu != 0