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

[eluser]spmckee[/eluser]
Sweet!

Had to switch a few of the names but in the end all is well. Good to meet a fellow Thug Wink

Code:
$this->db->join('thug_client_groups g', 'g.group_id = p.group_id', 'left');
$this->db->join('thug_client_companies c', 'c.company_id = p.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