MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => select * from t_comment as tc left join t_comment_detail as tcd on tcd.comment_id=tc.id where goods_id = and types='1' and apply='1' LIMIT 0,5 ) [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 'and types='1' and apply='1' LIMIT 0,5' at line 1 ) [3] => Array ( [errno] => 1064 ) )