load->database(); $this->table = 'noticeemail'; $this->load_table('noticeemail'); } public function get_email($email) { return $this->find("email = '$email'"); } } //end class