1.where有可能多个参数,比如,where id=? and title=?,就要写成array($id.$title),所以用array($id)2.$stmt->execute()返回的是true或false,并不是返回的数据,数据是$stml->fetch得到的