load->database(); $this->table = 'purchase'; $this->load_table('purchase'); } public function get_user($user) { return $this->find("user = '$user'"); } public function get_bm($bm) { return $this->find("bm = '$bm'"); } public function get_title($title) { return $this->find("title = '$title'"); } } //end class