| 1234567891011121314 |
- <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
- class Model_retreatlogs extends Lin_Model
- {
- function __construct(){
- parent::__construct();
- $this->load->database();
- $this->table = 'retreatlogs';
- $this->load_table('retreatlogs');
- }
- public function getInfoByNumber($number){
- return $this->find("number = '$number'","*","id DESC");
- }
- }
|