There was an error querying the database, MySQL said:
(1064) 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 'ORDER BY id DESC' at line 1
Other Information :
The following query was attemped:
SELECT * FROM tblCategory WHERE category_name = 'RTF' AND parent_id = ORDER BY id DESCThere was an error querying the database, MySQL said:
(1064) 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 tblProductDetails.product_id = tblProduct.id ORDER BY tblProduct.product_cod' at line 1
Other Information :
The following query was attemped:
SELECT tblProductDetails.*,tblProduct.* FROM tblProductDetails,tblprodcat JOIN tblProduct ON tblProduct.id = tblprodcat.product_id WHERE tblprodcat.category_id = AND tblProductDetails.product_id = tblProduct.id ORDER BY tblProduct.product_code