Welcome Guest, Not a member yet? Register   Sign In
Trying to join two different IDs with AR
#3

[eluser]spmckee[/eluser]
Here's what I'm using right now for the join part and keep getting: "Not unique table/alias: 'thug_client_groups'"

Code:
$this->db->join('thug_client_groups', 'thug_client_projects.group_id = thug_client_groups.group_id', 'left');
$this->db->join('thug_client_groups', 'thug_client_groups.company_id = thug_client_companies.company_id', 'left');


Messages In This Thread
Trying to join two different IDs with AR - by El Forum - 09-17-2009, 11:29 AM
Trying to join two different IDs with AR - by El Forum - 09-17-2009, 01:40 PM
Trying to join two different IDs with AR - by El Forum - 09-17-2009, 01:43 PM
Trying to join two different IDs with AR - by El Forum - 09-17-2009, 02:08 PM
Trying to join two different IDs with AR - by El Forum - 09-17-2009, 02:18 PM



Theme © iAndrew 2016 - Forum software by © MyBB