• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Join two different databases

#2
[eluser]mah0001[/eluser]
try using the database name in the join:

Code:
$this->db->join('database2.table-to-join', 'database1.table.id= database1.table.id','inner');


Messages In This Thread
Join two different databases - by El Forum - 03-08-2010, 01:42 PM
Join two different databases - by El Forum - 03-08-2010, 02:52 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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