Welcome Guest, Not a member yet? Register   Sign In
count_all with joint two table
#1

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.*');
$this->db->from('pull_out');
$this->db->join('users''pull_out.userid = users.userid''left'); 
Reply


Messages In This Thread
count_all with joint two table - by jaysondotp - 11-17-2014, 10:53 PM
RE: count_all with joint two table - by Rufnex - 11-18-2014, 02:37 AM
RE: count_all with joint two table - by Rufnex - 11-19-2014, 12:20 AM



Theme © iAndrew 2016 - Forum software by © MyBB