Welcome Guest, Not a member yet? Register   Sign In
Connection to multiple database
#1

[eluser]isCode[/eluser]
I am trying to build a site which shows different Employees information from different
databases, say for manager information from manager database and stuff information from staff database. Now, if the user click on a particular Employee then it would show the details information from the associated database.

I want to do it by retrieving all the employee name from different databases and with the link pass the database name as parameter. Now the second controller pick it up and retrieve the database information based on the database name.

The problem with this approach is the whole site is developed without being using the multiple database connection and also I somehow don't like the approach.

So, any idea how to do this job effectively?
#2

[eluser]bgougent[/eluser]
See also :
http://codeigniter.com/bug_tracker/bug/2703/
#3

[eluser]xwero[/eluser]
is there a reason why do you want to split up information that belongs together into two databases?




Theme © iAndrew 2016 - Forum software by © MyBB