[eluser]JingCleoVil[/eluser]
Hi,
I am using multiple database and it function well.
I used this line
Code:
$myDB1 = $this->load->database('default',true);
$data['mydb1_query'] = $myDB1->query("My QUERY HERE");
$myDB2 = $this->load->database('other_db',true);
//Same us the above query
However, i cant used this command
Code:
$data['mydb1_query'] = $myDB1->get('table_name');
It says
"Fatal error: Call to undefined method CI_DB_mysql_driver::get()...."
I want to use commands like $this->db->get(), $this->db->select() and etc...
Any idea? Thanks.