Welcome Guest, Not a member yet? Register   Sign In
Query multiple table with same field name using active record
#3

[eluser]Asinox[/eluser]
Code:
$this->db->join('table1','table1.id=table2.id')
$this->db->order_by('table2.id','ASC');
$this->db->get('table2')


Messages In This Thread
Query multiple table with same field name using active record - by El Forum - 03-19-2009, 11:11 PM



Theme © iAndrew 2016 - Forum software by © MyBB