ERROR -2array(4) { [0]=> array(1) { ["message"]=> string(17) "MySQL Query Error" } [1]=> array(1) { ["sql"]=> string(66) "select cat_id,cat_name,parent_id FROM ecs_category WHERE cat_id = " } [2]=> array(1) { ["error"]=> string(146) "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 '' at line 1" } [3]=> array(1) { ["errno"]=> int(1064) } }