[eluser]Unknown[/eluser]
Hi all!
I would like to know how can I get sorted data from active record class
I have the following query
Code:
$this->db->select('code, name, date, balance, fit, balance-fit, clientbalance, clientbalance-balance');
$this->db->from('charges');
$this->db->join('accounts', 'accounts.id = charges.account_id');
$this->db->where('charges.client_id', $_POST['client']);
$query = $this->db->get();
Thx!