• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.