Guest User

Untitled

a guest
Oct 18th, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. class Login_Model extends Model
  2. {
  3.  
  4. function login_valid($id = "",$password = "") {
  5.  
  6. $query = $this->db
  7. ->from('login')
  8. ->where('id', $id)
  9. ->where('password', $password)
  10. ->get();
  11. return count($query->result());
  12. }
Add Comment
Please, Sign In to add comment