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

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');
$this->db->select('users.a, users.b, users.c as xyz');

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