added payment model

This commit is contained in:
dev-chiefworks
2022-08-17 10:10:34 -04:00
parent 61e4fa65e9
commit 0031f775e5
3 changed files with 64 additions and 56 deletions
+18
View File
@@ -0,0 +1,18 @@
<?php
//require_once('Mobile_Detect.php');
class Payment_model extends CI_Model {
function __construct() {
}
public function getPaymentList() {
$mysql="SELECT m.username, f.* FROM flutterwave_payments f LEFT JOIN members m ON m.id=f.member_id ORDER BY f.id DESC";
$q = $this->db->query($mysql);
return $q->result();
}
}