Welcome Guest, Not a member yet? Register   Sign In
Changing database on a controller
#1

[eluser]FernandoMM[/eluser]
Hello,

I need to change the database that i'm using in the middle of a controller. The name of the database will come as a post var.

Is there a way to do this with codeigniter?

Thanks,

Fernando.
#2

[eluser]Raiko[/eluser]
You could do it if you name the config the same as what comes from your form




Theme © iAndrew 2016 - Forum software by © MyBB