Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Login_Model extends Model
- {
- function login_valid($id = "",$password = "") {
- $query = $this->db
- ->from('login')
- ->where('id', $id)
- ->where('password', $password)
- ->get();
- return count($query->result());
- }
Add Comment
Please, Sign In to add comment