- <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 
 
- class Model_noticeemail extends Lin_Model 
 
- {
 
- 	function __construct(){
 
- 	parent::__construct();
 
- 	$this->load->database();
 
- 	$this->table = 'noticeemail';
 
-     $this->load_table('noticeemail');
 
- }
 
-     public function get_email($email)
 
- 	{
 
- 		return  $this->find("email = '$email'");	
 
- 	}
 
-   
 
- }  //end class
 
 
  |