$dd = session('id'); $find = M('useraddress'); $address = $find->where("id=$dd")->getField('address'); $this->assgin('address',$address);