count_all with joint two table |
Hi coders.
i create pagination but i found out that there is count_all, and now my problem is, i have no idea how to join two table with count_all. code below is i need to convert into count_all so that i need call from here. PHP Code: $config['total_rows'] = $this->public_base_model->count_confirmation(); PHP Code: $this->db->select('pull_out.*,users.*');
Ah, no i understand what you tried to do. Not a count but a select over all fields. if you have the same names in your joined tables you have to select as
Code: $this->db->select('pull_out'); |
Welcome Guest, Not a member yet? Register Sign In |