SQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'and prd_lang='' and prd_st='A' ORDER BY prd_sort_id ASC, prd_name ASC LIMIT 0,6' at line 1
SELECT *
FROM prd INNER JOIN prd_cate ON prd.prd_pc_id=prd_cate.pc_id AND prd.prd_lang=prd_cate.pc_lang where pc_id= and prd_lang='' and prd_st='A'
ORDER BY prd_sort_id ASC, prd_name ASC
LIMIT 0,6