- Timestamp:
- Oct 31, 2014 7:13:40 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pro-violet-viettel/sourcecode/application/modules/admin/models/user_model.php
r328 r369 1 <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');1 <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 2 2 3 3 class User_model extends MY_Model … … 11 11 parent::__construct(); 12 12 } 13 14 function check_data($login_name) 15 { 16 $this->db->where('login_name', $login_name); 17 $query = $this->db->get($this->table_name); 18 return $query->num_rows(); 19 } 13 20 14 21 }
Note: See TracChangeset
for help on using the changeset viewer.