ok
Direktori : /home2/selectio/public_html/bharath/application/models/ |
Current File : /home2/selectio/public_html/bharath/application/models/Generateidcard_model.php |
<?php /** * */ class Generateidcard_model extends CI_model { function __construct() { parent::__construct(); $this->current_session = $this->setting_model->getCurrentSession(); } public function getstudentidcard() { $this->db->select('*'); $this->db->from('id_card'); $query = $this->db->get(); return $query->result(); } public function getidcardbyid($idcard) { $this->db->select('*'); $this->db->from('id_card'); $this->db->where('id', $idcard); $query = $this->db->get(); return $query->result(); } } ?>