Welcome Guest, Not a member yet? Register   Sign In
Relating the two fields into one record
#2

[eluser]Otemu[/eluser]
Hi,

Do your join like this:

Code:
$this->db->join('club as idt1', 'idt1.club = match.team_1');
  $this->db->join('club as idt2', 'idt2.club = match.team_2');


Hope that helps


Messages In This Thread
Relating the two fields into one record - by El Forum - 08-24-2012, 02:28 AM
Relating the two fields into one record - by El Forum - 08-24-2012, 07:18 AM



Theme © iAndrew 2016 - Forum software by © MyBB