ack! query failed:
errorno = 1064error = 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 '' at line 4query = SELECT p.id AS proID, p.categoryid AS catID, p.name_bg AS proName, p.nick AS proNick, p.image AS proImage, c.id,
c.name_bg AS catName, c.nick AS catNick
FROM tbl_products as p, tbl_categories as c
WHERE p.categoryid = c.id AND p.categoryid =