Welcome Guest, Not a member yet? Register   Sign In
Dynamic Database
#2

(This post was last modified: 02-27-2021, 08:50 AM by motownphilippe.)

I think you can dynamically change the database from your model or other class with
$db->setDatabase($database2_name);

See https://codeigniter.com/user_guide/datab...cting.html
Reply


Messages In This Thread
Dynamic Database - by wesleysiqueira - 05-03-2020, 06:40 PM
RE: Dynamic Database - by motownphilippe - 02-27-2021, 08:18 AM



Theme © iAndrew 2016 - Forum software by © MyBB