select('select * from `test_tab`); // Send query to another database where $dsn is a database source name. $db2 = DB::get_instance($dsn); $db2->select('select * from `test_tab`); ?>