Cannot execute query: SELECT DISTINCT m.man_id, m.man_name
FROM tbl_manufacturer m, tbl_product p
WHERE p.cat_id =
AND m.man_id = p.man_id
ORDER BY m.man_name
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 m.man_id = p.man_id
ORDER BY m.man_name' at line 4(1064)