Welcome Guest, Not a member yet? Register   Sign In
Old CI install, server updates...
#7

[eluser]OES[/eluser]
It wouldn't be an array but an object you are returning.

Maybe try this.

Code:
function GetPaymentRequests() {
    $this->db->select('users.*, payouts.amount, payouts.id as payout_id');
    $this->db->from('payouts');
    $this->db->join('users','payouts.user_id = users.id','INNER');
    $this->db->where('date_paid','0');
    $this->db->where('organization_id',0);
    $this->db->orderby('date_requested ASC');
    $query = $this->db->get();
    return $query->result_array();
  }

[OES]


Messages In This Thread
Old CI install, server updates... - by El Forum - 04-27-2009, 08:50 AM
Old CI install, server updates... - by El Forum - 04-27-2009, 09:49 AM
Old CI install, server updates... - by El Forum - 04-27-2009, 10:58 AM
Old CI install, server updates... - by El Forum - 04-28-2009, 10:05 AM
Old CI install, server updates... - by El Forum - 04-28-2009, 10:24 AM
Old CI install, server updates... - by El Forum - 04-28-2009, 01:41 PM
Old CI install, server updates... - by El Forum - 04-28-2009, 02:06 PM
Old CI install, server updates... - by El Forum - 04-28-2009, 02:53 PM
Old CI install, server updates... - by El Forum - 04-28-2009, 03:01 PM
Old CI install, server updates... - by El Forum - 04-29-2009, 03:00 PM



Theme © iAndrew 2016 - Forum software by © MyBB