Welcome Guest, Not a member yet? Register   Sign In
MySQL Join and active record issue (tables have same named fields)
#2

[eluser]charlieD[/eluser]
I had this issue yesterday - what I had to do was use the AS keyword:

$this->db->select('users.aol AS usersAOL, 'clients.aol AS clientsAOL');
$this->db->from('users');
etc...


Messages In This Thread
MySQL Join and active record issue (tables have same named fields) - by El Forum - 06-03-2008, 11:22 AM



Theme © iAndrew 2016 - Forum software by © MyBB