MySQLservererrorreport:Array([0]=>Array([message]=>MySQLQueryError)[1]=>Array([sql]=>SELECTg.goods_id,g.is_best,g.is_new,g.is_hot,g.is_promote,b.brand_name,g.sort_orderFR...
MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `esushop`.`esushop_goods` AS g LEFT JOIN `esushop`.`esushop_brand` AS b ON b.brand_id = g.brand_id WHERE (g.is_on_sale = 1 or g.user_id=516) AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) and g.brand_id in() ORDER BY g.sort_order, g.last_update DESC ) [2] => Array ( [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 ') ORDER BY g.sort_order, g.last_update DESC' at line 1 ) [3] => Array ( [errno] => 1064 ) ) 求解啊,急救!
展开