ack! query failed:
  • errorno=1064
  • error=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 tblsubsubcategory.subCategoryID=tblsubcategory.subCategoryId
  • query=select tblsubcategory.subCategoryID as 'subcatid', tblsubcategory.description as 'subcatdec', subCategoryName , subSubCategoryID, subSubCategoryName, categoryID, tblsubcategory.totalProducts as 'totalproduct' from tblsubcategory, tblsubsubcategory where categoryID= and tblsubsubcategory.subCategoryID=tblsubcategory.subCategoryId