• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Active records question, join and two id's how to get each id??

#3
[eluser]123wesweat[/eluser]
ah super, thanks i have added * but that's maybe not optimal right???
[quote author="noctrum" date="1266352096"]
Code:
$this->db->select('*, tableA.id AS a_id, tableB.id AS b_id');
[/quote]


Messages In This Thread
Active records question, join and two id's how to get each id?? - by El Forum - 02-16-2010, 08:37 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.