ok
Direktori : /proc/self/root/home2/selectio/www/bharath/application/models/ |
Current File : //proc/self/root/home2/selectio/www/bharath/application/models/Generatecertificate_model.php |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); /** * */ class Generatecertificate_model extends CI_Model { function __construct() { parent::__construct(); $this->current_session = $this->setting_model->getCurrentSession(); } public function getcertificatebyid($certificate) { $this->db->select('*'); $this->db->from('certificates'); $this->db->where('id', $certificate); $query = $this->db->get(); return $query->result(); } } ?>