ERROR -2array(4) { [0]=> array(1) { ["message"]=> string(17) "MySQL Query Error" } [1]=> array(1) { ["sql"]=> string(44) "select cat_id from ecs_goods where goods_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) } }