MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT goods_id,goods_name,goods_brief,goods_sn,goods_thumb,goods_img,shop_price FROM `nfldiscountjerseys`.`ecs_goods` WHERE `cat_id` = ORDER BY RAND() LIMIT 0 , 12 ) [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 RAND() LIMIT 0 , 12' at line 1 ) [3] => Array ( [errno] => 1064 ) )