Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function month_wise_due($grade_due, $new_due, $id, $remaining) {
- $now1 = time();
- $now = date('F, Y', $now1);
- $store = array(
- 'mwf_month' => $now,
- 'mwf_previous' => $remaining,
- 'mwf_due' => $grade_due,
- 'total_due' => $new_due,
- 'mwf_student_id' => $id,
- 'mwf_pay_day' => 'Not Yet Paid',
- 'mwf_payment' => 0,
- 'mwf_diff' => $new_due
- );
- $this->db->trans_start();
- $this->db->insert('mwf', $store);
- $this->db->trans_complete();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement