Error in Query: SELECT * FROM scfprod AND ProdType = '0' ORDER BY Product LIMIT 0,999999. mySQL said 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 ProdType = '0' ORDER BY Product LIMIT 0,999999' at line 1.