Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Mod_student_fee_status extends CI_Model {
- function __construct()
- {
- parent::__construct();
- }
- //Function Student Fee
- function fee_status($id,$perPage,$uri_segment) {
- $this->db->select('*');
- $this->db->from('studentpayment1');
- $this->db->where('studentid', $id);
- $getData = $this->db->get('', $perPage, $uri_segment);
- if($getData->num_rows() > 0)
- return $getData->result_array();
- else
- return null;
- }
- //End of Function
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement