MYSQL ERROR: SELECT eb_productcn.*, `eb_productcn_category`.`categoryName` FROM `eb_productcn` LEFT JOIN `eb_productcn_category` ON (eb_productcn.categoryID = `eb_productcn_category`.categoryID) WHERE 1=1 and eb_productcn.categoryID = ORDER BY `eb_productcn`.`createDate` DESC LIMIT 0,12
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 `eb_productcn`.`createDate` DESC LIMIT 0,12' at line 1