Welcome Guest, Not a member yet? Register   Sign In
[Solved] Active record join problem.
#4

[eluser]Doosje[/eluser]
Code:
$this->db->select('user.username as author, user.username as last_msg_by')
->join('user_users as user', 'user.id = forums_threads.ID_MEMBER_STARTED', "left")
->join('user_users as users', 'users.id = forums_threads.ID_MEMBER_UPDATED', "left")

try this ..


Messages In This Thread
[Solved] Active record join problem. - by El Forum - 06-18-2008, 08:08 AM
[Solved] Active record join problem. - by El Forum - 06-18-2008, 08:14 AM
[Solved] Active record join problem. - by El Forum - 06-18-2008, 08:17 AM
[Solved] Active record join problem. - by El Forum - 06-18-2008, 08:21 AM
[Solved] Active record join problem. - by El Forum - 06-18-2008, 08:25 AM
[Solved] Active record join problem. - by El Forum - 06-18-2008, 08:26 AM
[Solved] Active record join problem. - by El Forum - 06-18-2008, 08:28 AM



Theme © iAndrew 2016 - Forum software by © MyBB