Advertisement
Guest User

Mod_student_fee_status

a guest
Nov 28th, 2011
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. class Mod_student_fee_status extends CI_Model {
  2.  
  3.  
  4. function __construct()
  5. {
  6. parent::__construct();
  7. }
  8.  
  9.  
  10. //Function Student Fee
  11. function fee_status($id,$perPage,$uri_segment) {
  12. $this->db->select('*');
  13. $this->db->from('studentpayment1');
  14.  
  15.  
  16. $this->db->where('studentid', $id);
  17.  
  18.  
  19. $getData = $this->db->get('', $perPage, $uri_segment);
  20. if($getData->num_rows() > 0)
  21. return $getData->result_array();
  22. else
  23. return null;
  24. }
  25. //End of Function
  26.  
  27.  
  28. }
  29.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement