added payment model
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user