Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * email
- *
- * @return void
- * @author Mathew
- **/
- public function email($email)
- {
- $this->db->select($this->tables['users'].'.email');
- $this->db->from($this->tables['users']);
- $this->db->where($this->tables['users'].'.email', $email);
- $this->db->limit(1);
- $i = $this->db->get();
- if ($i->num_rows() == 1)
- {
- log_message('error', 'Duplicate Email Found : '.$email);
- return true;
- }
- else
- {
- return false;
- }
Add Comment
Please, Sign In to add comment