SHARE
TWEET

Model-Test

rudipratm Jan 15th, 2020 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function update($data, $id){
  2.     $this->db->where('id' => $suserid);
  3.     $this->db->update('tabel', $data);
  4.     if ($this->db->affected_rows() > 0) {
  5.         return true;
  6.     }else{
  7.         return false;
  8.     }
  9. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top