I have a problem with my query and I need to join two tables from different databases now my problem is how can I execute my query. I got my syntax format f
http://www.bsourcecode.com/codeigniter/codeigniter-select-query/
$query = $this->db->query("select * from tbl_user");
OR
$query = $this->db->select("*"); $this->db->from('table_name'); $query=$this->db->get();